Drush clear plugins cache
No security coverage
After see this: DefaultPluginManager::clearCachedDefinitions
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!
I build this drush command to allow clear plugin managers cache.
Help:
Clear plugin manager cached definitions.
Examples:
drush_clear_plugins_cache:clear-cache plugin.manager.group_content_enabler Clear group_content_enabler plugin manager cache.
drush_clear_plugins_cache:clear-cache all Clear all plugin manager cache.
drush_clear_plugins_cache:clear-cache Clear all plugin manager cache.
Arguments:
[pluginType] The plugin manager service name. Default 'all'.
Aliases: pmcc
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.1 | Stable | Nov 22, 2023 |