function ElementInfoManager::getCid

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::getCid()
  2. 8.9.x core/lib/Drupal/Core/Render/ElementInfoManager.php \Drupal\Core\Render\ElementInfoManager::getCid()
  3. 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

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

File

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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.