function ElementInfoManager::getCid
Same name in other branches
- 9 core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::getCid()
- 8.9.x core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::getCid()
- 10 core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::getCid()
Returns the CID used to cache the element info.
Parameters
string $theme_name: The theme name.
Return value
string
2 calls to ElementInfoManager::getCid()
- ElementInfoManager::buildInfo in core/
lib/ Drupal/ Core/ Render/ ElementInfoManager.php - Builds up all element information.
- ElementInfoManager::clearCachedDefinitions in core/
lib/ Drupal/ Core/ Render/ ElementInfoManager.php - Clears static and persistent plugin definition caches.
File
-
core/
lib/ Drupal/ Core/ Render/ ElementInfoManager.php, line 168
Class
- ElementInfoManager
- Provides a plugin manager for element plugins.
Namespace
Drupal\Core\RenderCode
protected function getCid($theme_name) {
return 'element_info_build:' . $theme_name;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.