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.
Supporting organizations:
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.270 sites report using this module
- Created by arnested on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
