You are here

function draggableviews_rules_event_info in DraggableViews 7

Same name and namespace in other branches
  1. 7.2 draggableviews.rules.inc \draggableviews_rules_event_info()

Implements hook_rules_event_info()

File

./draggableviews.rules.inc, line 6

Code

function draggableviews_rules_event_info() {
  $events = array();
  $events['draggableviews_rules_event_sorted'] = array(
    'label' => t('A view has been sorted'),
    'group' => t('DraggableViews'),
    'variables' => array(
      'view_name' => array(
        'type' => 'text',
        'label' => t('view name'),
      ),
    ),
  );
  return $events;
}