Entity::getConfigDependencyKey

public 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 613

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getConfigDependencyKey() {
  return $this->getEntityType()->getConfigDependencyKey();
}
doc_Drupal
2016-10-29 09:04:19
Comments
Leave a Comment

Please login to continue.