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();
}
Please login to continue.