protected function PhpBackend::normalizeCid
protected PhpBackend::normalizeCid($cid)
Ensures a normalized cache ID.
Parameters
string $cid: The passed in cache ID.
Return value
string A normalized cache ID.
File
- core/lib/Drupal/Core/Cache/PhpBackend.php, line 267
Class
- PhpBackend
- Defines a PHP cache implementation.
Namespace
Drupal\Core\CacheCode
protected function normalizeCid($cid) { return Crypt::hashBase64($cid); }
© 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!Cache!PhpBackend.php/function/PhpBackend::normalizeCid/8.1.x