protected function ConfigEntityStorage::buildCacheId in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php \Drupal\Core\Config\Entity\ConfigEntityStorage::buildCacheId()
Builds the cache ID for the passed in entity ID.
Parameters
int $id: Entity ID for which the cache ID should be built.
Return value
string Cache ID that can be passed to the cache backend.
Overrides EntityStorageBase::buildCacheId
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php, line 333
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
protected function buildCacheId($id) {
return parent::buildCacheId($id) . ':' . ($this->overrideFree ? '' : implode(':', $this->configFactory
->getCacheKeys()));
}