function ConfigEntityBase::getConfigDependencyName

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigDependencyName()
  2. 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigDependencyName()
  3. 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigDependencyName()

Overrides EntityBase::getConfigDependencyName

1 call to ConfigEntityBase::getConfigDependencyName()
ConfigEntityBase::getCacheTagsToInvalidate in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Returns the cache tags that should be used to invalidate caches.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 449

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function getConfigDependencyName() {
    return $this->getEntityType()
        ->getConfigPrefix() . '.' . $this->id();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.