You are here

function views_rules_rules_action_info in Views Rules 7

Implements hook_rules_action_info().

File

./views_rules.rules.inc, line 27
Rules declarations.

Code

function views_rules_rules_action_info() {
  return array(
    'views_rules_collect_rows' => array(
      'label' => t('Collect view result rows'),
      'group' => t('Views Rules'),
      // Declare basic 'parameter' and 'provides' to be altered at evaluation.
      'parameter' => array(
        'views_rules_display' => array(
          'label' => t('View iterator display'),
          'type' => 'text',
          'options list' => 'views_rules_list_iterators',
          'restriction' => 'input',
          'default mode' => 'input',
        ),
      ),
      'provides' => array(),
    ),
  );
}