protected CachedStorage::getCollectionPrefix()
Returns a cache ID prefix to use for the collection.
string The cache ID prefix.
protected function getCollectionPrefix() { $collection = $this->storage->getCollectionName(); if ($collection == StorageInterface::DEFAULT_COLLECTION) { return ''; } return $collection . ':'; }
© 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!Config!CachedStorage.php/function/CachedStorage::getCollectionPrefix/8.1.x