function RulesUiComponentProviderInterface::getComponent

Gets the Rules component to be edited.

Return value

\Drupal\rules\Engine\RulesComponent The Rules component.

2 methods override RulesUiComponentProviderInterface::getComponent()
ReactionRuleConfig::getComponent in src/Entity/ReactionRuleConfig.php
Gets the Rules component that is invoked when the events are dispatched. The returned component has the definitions of the available event context set.
RulesComponentConfig::getComponent in src/Entity/RulesComponentConfig.php
Gets the Rules component to be edited.

File

src/Ui/RulesUiComponentProviderInterface.php, line 20

Class

RulesUiComponentProviderInterface
Interface for objects providing components for editing.

Namespace

Drupal\rules\Ui

Code

public function getComponent();