You are here

public function EntityInterface::getConfigDependencyName in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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 495

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getConfigDependencyName();