You are here

public function RulesComponentConfig::calculateDependencies in Rules 8.3

Calculates dependencies and stores them in the dependency property.

Return value

$this

Overrides ConfigEntityBase::calculateDependencies

See also

\Drupal\Core\Config\Entity\ConfigDependencyManager

File

src/Entity/RulesComponentConfig.php, line 266

Class

RulesComponentConfig
Rules component configuration entity to persistently store configuration.

Namespace

Drupal\rules\Entity

Code

public function calculateDependencies() {
  parent::calculateDependencies();
  $this
    ->addDependencies($this
    ->getComponent()
    ->calculateDependencies());
  return $this->dependencies;
}