You are here

public function RulesUiComponentProviderInterface::updateFromComponent in Rules 8.3

Updates the configuration based upon the given component.

Parameters

\Drupal\rules\Engine\RulesComponent $component: The component containing the configuration to set.

Return value

$this

2 methods override RulesUiComponentProviderInterface::updateFromComponent()
ReactionRuleConfig::updateFromComponent in src/Entity/ReactionRuleConfig.php
Updates the configuration based upon the given component.
RulesComponentConfig::updateFromComponent in src/Entity/RulesComponentConfig.php
Updates the configuration based upon the given component.

File

src/Ui/RulesUiComponentProviderInterface.php, line 30

Class

RulesUiComponentProviderInterface
Interface for objects providing components for editing.

Namespace

Drupal\rules\Ui

Code

public function updateFromComponent(RulesComponent $component);