protected function ElementInfoManager::getCid

protected ElementInfoManager::getCid($theme_name)

Returns the CID used to cache the element info.

Parameters

string $theme_name: The theme name.

Return value

string

File

core/lib/Drupal/Core/Render/ElementInfoManager.php, line 161

Class

ElementInfoManager
Provides a plugin manager for element plugins.

Namespace

Drupal\Core\Render

Code

protected function getCid($theme_name) {
  return 'element_info_build:' . $theme_name;
}

© 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!Render!ElementInfoManager.php/function/ElementInfoManager::getCid/8.1.x