You are here

public function Entity::getConfigDependencyKey in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::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 EntityInterface::getConfigDependencyKey

See also

\Drupal\Core\Entity\EntityTypeInterface::getConfigDependencyKey()

File

core/lib/Drupal/Core/Entity/Entity.php, line 627
Contains \Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getConfigDependencyKey() {
  return $this
    ->getEntityType()
    ->getConfigDependencyKey();
}