You are here

public function RulesConditionalSwitch::pluginParameterInfo in Conditional Rules 8

Same name and namespace in other branches
  1. 7 includes/rules_conditional.plugin.inc \RulesConditionalSwitch::pluginParameterInfo()

File

includes/rules_conditional.plugin.inc, line 194
Rules plugin implementation.

Class

RulesConditionalSwitch
Switch conditional container.

Code

public function pluginParameterInfo() {
  $parameterInfo = array(
    'data' => array(
      'type' => '*',
      'label' => t('Data to match cases against'),
      'description' => t('The data to be compared, specified by using a data selector, e.g. "node:author:name".'),
      'restriction' => 'selector',
      'allow null' => TRUE,
    ),
  );
  return $parameterInfo;
}