function RestResourceConfig::calculateDependencies
Same name in other branches
- 9 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::calculateDependencies()
- 8.9.x core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::calculateDependencies()
- 10 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::calculateDependencies()
Overrides ConfigEntityBase::calculateDependencies
File
-
core/
modules/ rest/ src/ Entity/ RestResourceConfig.php, line 215
Class
- RestResourceConfig
- Defines a RestResourceConfig configuration entity class.
Namespace
Drupal\rest\EntityCode
public function calculateDependencies() {
parent::calculateDependencies();
foreach ($this->getRestResourceDependencies()
->calculateDependencies($this) as $type => $dependencies) {
foreach ($dependencies as $dependency) {
$this->addDependency($type, $dependency);
}
}
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.