function ComponentPluginManager::clearCachedDefinitions

Same name in this branch
  1. 11.x core/modules/sdc/src/ComponentPluginManager.php \Drupal\sdc\ComponentPluginManager::clearCachedDefinitions()
Same name and namespace in other branches
  1. 10 core/modules/sdc/src/ComponentPluginManager.php \Drupal\sdc\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.