public function EntityType::getConfigDependencyKey
public EntityType::getConfigDependencyKey()
Gets the key that is used to store configuration dependencies.
Return value
string The key to be used in configuration dependencies when storing dependencies on entities of this type.
Overrides EntityTypeInterface::getConfigDependencyKey
File
- core/lib/Drupal/Core/Entity/EntityType.php, line 821
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'; }
© 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!Entity!EntityType.php/function/EntityType::getConfigDependencyKey/8.1.x