public function TypePluginManager::clearCachedDefinitions in GraphQL 8.3
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 DefaultPluginManager::clearCachedDefinitions
File
- src/
Plugin/ TypePluginManager.php, line 77
Class
Namespace
Drupal\graphql\PluginCode
public function clearCachedDefinitions() {
parent::clearCachedDefinitions();
$this->instances = [];
}