You are here

public function RulesAnd::label in Rules 7.2

Returns the label of the element.

Overrides RulesPlugin::label

1 call to RulesAnd::label()
RulesAnd::evaluate in includes/rules.plugins.inc
Evaluate the element on a given rules evaluation state.

File

includes/rules.plugins.inc, line 596
Contains plugin info and implementations not needed for rule evaluation.

Class

RulesAnd
A logical AND.

Code

public function label() {
  return !empty($this->label) ? $this->label : ($this->negate ? t('NOT AND') : t('AND'));
}