You are here

public function RulesComponentConfig::getExpression in Rules 8.3

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();
}