function ContentEntityStorageBase::buildRevisionCacheId
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::buildRevisionCacheId()
Builds the cache ID for the passed in revision ID.
Parameters
int $id: Entity ID or revision ID for which the cache ID should be built.
Return value
string Cache ID that can be passed to the cache backend.
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php, line 1334
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\EntityCode
protected function buildRevisionCacheId($id) : string {
return "values:{$this->entityTypeId}:revision:{$id}";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.