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

1
2
3
public function getConfigDependencyKey() {
  return $this->getEntityType()->getConfigDependencyKey();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.