public BreakpointManager::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 DefaultPluginManager::clearCachedDefinitions
File
- core/modules/breakpoint/src/BreakpointManager.php, line 229
Class
- BreakpointManager
- Defines a breakpoint plugin manager to deal with breakpoints.
Namespace
Drupal\breakpoint
Code
public function clearCachedDefinitions() { parent::clearCachedDefinitions(); $this->breakpointsByGroup = NULL; $this->instances = array(); }
Please login to continue.