function EntityType::getConfigDependencyKey
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getConfigDependencyKey()
- 8.9.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getConfigDependencyKey()
- 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getConfigDependencyKey()
Overrides EntityTypeInterface::getConfigDependencyKey
2 methods override EntityType::getConfigDependencyKey()
- ConfigEntityType::getConfigDependencyKey in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityType.php - Gets the key that is used to store configuration dependencies.
- ContentEntityType::getConfigDependencyKey in core/
lib/ Drupal/ Core/ Entity/ ContentEntityType.php - Gets the key that is used to store configuration dependencies.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 871
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getConfigDependencyKey() {
// Return 'content' for the default implementation as important distinction
// is that dependencies on other configuration entities are hard
// dependencies and have to exist before creating the dependent entity.
return 'content';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.