function EntityInterface::getConfigDependencyName

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
  2. 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
  3. 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()

Gets the configuration dependency name.

Configuration entities can depend on content and configuration entities. They store an array of content and config dependency names in their "dependencies" key.

Return value

string The configuration dependency name.

See also

\Drupal\Core\Config\Entity\ConfigDependencyManager

2 methods override EntityInterface::getConfigDependencyName()
EntityBase::getConfigDependencyName in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the configuration dependency name.
ViewUI::getConfigDependencyName in core/modules/views_ui/src/ViewUI.php
Gets the configuration dependency name.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 432

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getConfigDependencyName();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.