You are here

public function EckEntityBundle::calculateDependencies in Entity Construction Kit (ECK) 8

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/EckEntityBundle.php, line 89

Class

EckEntityBundle
Defines the ECK entity bundle configuration entity.

Namespace

Drupal\eck\Entity

Code

public function calculateDependencies() {
  parent::calculateDependencies();
  $this
    ->addDependency('config', "eck.eck_entity_type.{$this->getEckEntityTypeMachineName()}");
  return $this;
}