function ElementInfoManager::getCid
Same name in other branches
- 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()
- 11.x 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
1 call to ElementInfoManager::getCid()
- ElementInfoManager::buildInfo in core/
lib/ Drupal/ Core/ Render/ ElementInfoManager.php - Builds up all element information.
File
-
core/
lib/ Drupal/ Core/ Render/ ElementInfoManager.php, line 162
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.