Autowire Plugin Trait
This module provides an autowire trait for Drupal plugins, allowing plugin dependencies to be automatically injected. This functionality is now part of Drupal core and this module is no longer needed.
Add an Autowire trait for plugins
This module adds an autowire trait for plugins.
This issue suggests adding it to Drupal core: #3452852.
This module implements the suggested trait as a contrib module for use now. The implementation is borrowed shamelessly and with thanks to the core issue.
Obsolete from Drupal 11.3
This module is obsolete from Drupal 11.3.
Drupal 11.3 has added autowiring to PluginBase, see Change Record: PluginBase provides create() factory method with autowired parameters.
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.