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; }
Please login to continue.