You are here

function rb_views_plugin_argument_validate_rules_component::option_definition in Rules Bonus Pack 7

Retrieve the options when this is a new access control plugin.

Overrides views_plugin_argument_validate::option_definition

File

views/rb_views_plugin_argument_validate_rules_component.inc, line 20
Contains the plugin for validating a Views argument with rule sets.

Class

rb_views_plugin_argument_validate_rules_component
Use a Rules component to validate a contextual filter value ('argument').

Code

function option_definition() {
  $options = parent::option_definition();
  $options['component'] = array(
    'default' => '',
  );
  return $options;
}