function ComponentPluginManager::clearCachedDefinitions

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/ComponentPluginManager.php \Drupal\Core\Theme\ComponentPluginManager::clearCachedDefinitions()

File

core/lib/Drupal/Core/Theme/ComponentPluginManager.php, line 159

Class

ComponentPluginManager
Defines a plugin manager to deal with components.

Namespace

Drupal\Core\Theme

Code

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.