You are here

function rules_and in Rules 7.2

Creates a logical AND condition container.

Parameters

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

Return value

RulesAnd

1 call to rules_and()
Rule::__construct in includes/rules.plugins.inc

File

./rules.module, line 161
Rules engine module.

Code

function rules_and($variables = NULL) {
  return rules_plugin_factory('and', $variables);
}