function ExpressionBase::getLabel

Overrides ExpressionInterface::getLabel

5 calls to ExpressionBase::getLabel()
ActionExpression::getLabel in src/Plugin/RulesExpression/ActionExpression.php
The label of this expression element that can be shown in the UI.
AndExpression::evaluate in src/Plugin/RulesExpression/AndExpression.php
Returns the final result after executing the conditions.
ConditionExpression::getLabel in src/Plugin/RulesExpression/ConditionExpression.php
The label of this expression element that can be shown in the UI.
OrExpression::evaluate in src/Plugin/RulesExpression/OrExpression.php
Returns the final result after executing the conditions.
RuleExpression::executeWithState in src/Plugin/RulesExpression/RuleExpression.php
Execute the expression with a given Rules state.
2 methods override ExpressionBase::getLabel()
ActionExpression::getLabel in src/Plugin/RulesExpression/ActionExpression.php
The label of this expression element that can be shown in the UI.
ConditionExpression::getLabel in src/Plugin/RulesExpression/ConditionExpression.php
The label of this expression element that can be shown in the UI.

File

src/Engine/ExpressionBase.php, line 146

Class

ExpressionBase
Base class for rules expressions.

Namespace

Drupal\rules\Engine

Code

public function getLabel() {
    return $this->pluginDefinition['label'];
}