TypedConfigManager::clearCachedDefinitions

public TypedConfigManager::clearCachedDefinitions()

Clears static and persistent plugin definition caches.

Don't resort to calling \Drupal::cache()->delete() and friends to make Drupal detect new or updated plugin definitions. Always use this method on the appropriate plugin type's plugin manager!

Overrides TypedDataManager::clearCachedDefinitions

File

core/lib/Drupal/Core/Config/TypedConfigManager.php, line 196

Class

TypedConfigManager
Manages config schema type plugins.

Namespace

Drupal\Core\Config

Code

public function clearCachedDefinitions() {
  $this->schemaStorage->reset();
  parent::clearCachedDefinitions();
}
doc_Drupal
2016-10-29 09:49:54
Comments
Leave a Comment

Please login to continue.