You are here

function rb_views_rules_plugin_info in Rules Bonus Pack 7

File

./rb_views.rules.inc, line 181
Rules plugins related to Views.

Code

function rb_views_rules_plugin_info() {

  // Most of this is just copy-pasted from the rule set component.
  return array(
    'views argument validator' => array(
      'label' => t('Views argument validator'),
      'module' => 'rb_views',
      'class' => 'RbViewsArgumentValidator',
      'component' => TRUE,
      'embeddable' => FALSE,
      'extenders' => array(
        'RulesPluginUIInterface' => array(
          'class' => 'RbViewsArgumentValidatorUI',
        ),
      ),
    ),
  );
}