You are here

public function RulesListConditionsConditionalLoop::pluginParameterInfo in Rules List Conditions 7

Returns info about parameters needed by the plugin.

Note that not necessarily all parameters are needed when executing the plugin, as values for the parameter might have been already configured via the element settings.

Overrides RulesPlugin::pluginParameterInfo

See also

self::parameterInfo()

2 calls to RulesListConditionsConditionalLoop::pluginParameterInfo()
RulesListConditionsAll::evaluate in includes/rules_list_conditions.plugins.inc
Evaluate the element on a given rules evaluation state.
RulesListConditionsAny::evaluate in includes/rules_list_conditions.plugins.inc
Evaluate the element on a given rules evaluation state.

File

includes/rules_list_conditions.core.inc, line 31
Contains the base class for condition loops.

Class

RulesListConditionsConditionalLoop
Base class for condition loops.

Code

public function pluginParameterInfo() {
  return array(
    'list' => array(
      'type' => 'list',
      'restriction' => 'selector',
      'label' => t('List'),
      'description' => t('The list to loop over. The loop will check against each item in the list.'),
    ),
  );
}