protected function PhpBackend::normalizeCid in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::normalizeCid()
- 9 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::normalizeCid()
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 269
Class
- PhpBackend
- Defines a PHP cache implementation.
Namespace
Drupal\Core\CacheCode
protected function normalizeCid($cid) {
return Crypt::hashBase64($cid);
}