public ConfigEntityBase::getDependencies()
Gets the configuration dependencies.
array An array of dependencies, keyed by $type.
Overrides ConfigEntityInterface::getDependencies
\Drupal\Core\Config\Entity\ConfigDependencyManager
public function getDependencies() { $dependencies = $this->dependencies; if (isset($dependencies['enforced'])) { // Merge the enforced dependencies into the list of dependencies. $enforced_dependencies = $dependencies['enforced']; unset($dependencies['enforced']); $dependencies = NestedArray::mergeDeep($dependencies, $enforced_dependencies); } return $dependencies; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Entity!ConfigEntityBase.php/function/ConfigEntityBase::getDependencies/8.1.x