Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). REMP Paywall 2.0.1 Minor update available for module remp (2.0.1). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). REMP Paywall Module remp now has official Drupal security advisory coverage.

Autowire Plugin Trait

298 sites Security covered
View on drupal.org

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.

Activity

Total releases
2
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.1.0 Stable Jun 18, 2026
1.1.x-dev Dev Jun 18, 2026