function RulesComponentConfig::getExpression

Gets a Rules expression instance for this Rules component.

Return value

\Drupal\rules\Engine\ExpressionInterface A Rules expression instance.

File

src/Entity/RulesComponentConfig.php, line 114

Class

RulesComponentConfig
Rules component configuration entity to persistently store configuration.

Namespace

Drupal\rules\Entity

Code

public function getExpression() {
    return $this->getComponent()
        ->getExpression();
}