public function EntityBase::getConfigDependencyName in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::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.
Overrides EntityInterface::getConfigDependencyName
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
1 method overrides EntityBase::getConfigDependencyName()
- ConfigEntityBase::getConfigDependencyName in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Gets the configuration dependency name.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 670
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function getConfigDependencyName() {
return $this
->getEntityTypeId() . ':' . $this
->bundle() . ':' . $this
->uuid();
}