You are here

function rules_list_conditions_all in Rules List Conditions 7

Factory for creating an All loop in code.

Parameters

array $settings: The loop settings, containing 'list:select': The data selector for the list to loop over. 'item:var': A name for the list item variable. Optional. 'item:label': A label for the list item variable. Optional.

array $variables: An optional array as for rule().

Return value

RulesListConditionsAll An All loop with $settings and $variables.

File

./rules_list_conditions.module, line 40
Loops for Rules conditions.

Code

function rules_list_conditions_all($settings = array(), $variables = NULL) {
  return new RulesListConditionsAll($settings, $variables);
}