RestResourceConfig::calculateDependencies

public RestResourceConfig::calculateDependencies()

(@inheritdoc)

Overrides ConfigEntityBase::calculateDependencies

File

core/modules/rest/src/Entity/RestResourceConfig.php, line 212

Class

RestResourceConfig
Defines a RestResourceConfig configuration entity class.

Namespace

Drupal\rest\Entity

Code

public function calculateDependencies() {
  parent::calculateDependencies();

  foreach ($this->getRestResourceDependencies()->calculateDependencies($this) as $type => $dependencies) {
    foreach ($dependencies as $dependency) {
      $this->addDependency($type, $dependency);
    }
  }
  return $this;
}
doc_Drupal
2016-10-29 09:38:19
Comments
Leave a Comment

Please login to continue.