function 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 323
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()));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.