function RulesComponentConfig::updateFromComponent
Overrides RulesUiComponentProviderInterface::updateFromComponent
File
-
src/
Entity/ RulesComponentConfig.php, line 145
Class
- RulesComponentConfig
- Rules component configuration entity to persistently store configuration.
Namespace
Drupal\rules\EntityCode
public function updateFromComponent(RulesComponent $component) {
$this->component = $component->getConfiguration();
$this->componentObject = $component;
return $this;
}