function RulesComponentConfig::getComponent

Overrides RulesUiComponentProviderInterface::getComponent

File

src/Entity/RulesComponentConfig.php, line 135

Class

RulesComponentConfig
Rules component configuration entity to persistently store configuration.

Namespace

Drupal\rules\Entity

Code

public function getComponent() {
    if (!isset($this->componentObject)) {
        $this->componentObject = RulesComponent::createFromConfiguration($this->component);
    }
    return $this->componentObject;
}