Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityType.php \Drupal\Core\Entity\ContentEntityType::getConfigDependencyKey()
  2. 9 core/lib/Drupal/Core/Entity/ContentEntityType.php \Drupal\Core\Entity\ContentEntityType::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 EntityType::getConfigDependencyKey

File

core/lib/Drupal/Core/Entity/ContentEntityType.php, line 36

Class

ContentEntityType
Provides an implementation of a content entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getConfigDependencyKey() {
  return 'content';
}