public function RulesOr::label in Rules 7.2
Returns the label of the element.
Overrides RulesPlugin::label
1 call to RulesOr::label()
- RulesOr::evaluate in includes/
rules.plugins.inc - Evaluate the element on a given rules evaluation state.
File
- includes/
rules.plugins.inc, line 629 - Contains plugin info and implementations not needed for rule evaluation.
Class
- RulesOr
- A logical OR.
Code
public function label() {
return !empty($this->label) ? $this->label : ($this->negate ? t('NOT OR') : t('OR'));
}