function ComponentPluginManager::clearCachedDefinitions
Same name in this branch
- 10 core/modules/sdc/src/ComponentPluginManager.php \Drupal\sdc\ComponentPluginManager::clearCachedDefinitions()
Same name in other branches
- 11.x core/modules/sdc/src/ComponentPluginManager.php \Drupal\sdc\ComponentPluginManager::clearCachedDefinitions()
- 11.x core/lib/Drupal/Core/Theme/ComponentPluginManager.php \Drupal\Core\Theme\ComponentPluginManager::clearCachedDefinitions()
Overrides DefaultPluginManager::clearCachedDefinitions
File
-
core/
lib/ Drupal/ Core/ Theme/ ComponentPluginManager.php, line 159
Class
- ComponentPluginManager
- Defines a plugin manager to deal with components.
Namespace
Drupal\Core\ThemeCode
public function clearCachedDefinitions() : void {
parent::clearCachedDefinitions();
$this->componentNegotiator
->clearCache();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.