protected function ContentEntityStorageBase::buildCacheId
protected ContentEntityStorageBase::buildCacheId($id)
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.
File
- core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 651
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\EntityCode
protected function buildCacheId($id) { return "values:{$this->entityTypeId}:$id"; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityStorageBase.php/function/ContentEntityStorageBase::buildCacheId/8.1.x