You are here

public function RulesCondition::label in Rules 7.2

Returns the label of the element.

Overrides RulesAbstractPlugin::label

1 call to RulesCondition::label()
RulesCondition::executeCallback in includes/rules.plugins.inc
Execute the configured execution callback and log that.

File

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

Class

RulesCondition
Implements a rules condition.

Code

public function label() {
  $label = parent::label();
  return $this->negate ? t('NOT !condition', array(
    '!condition' => $label,
  )) : $label;
}