function 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\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.