Skip to main content
Home
Drupal life hacks

Main navigation

  • Drupal
  • React
  • WP
  • Contact
  • About
User account menu
  • Log in

Breadcrumb

  1. Home

PluginBase

By admin, 15 October, 2025

Drupal 11.3: Simplifying Plugin Development with Autowired create() in PluginBase

Drupal has always been flexible when it comes to plugins, but dependency injection in plugins has historically required boilerplate code. In Drupal 11.3, the PluginBase class introduces a game-changing feature: a generic create() factory method with autowired parameters. This update simplifies plugin development and reduces repetitive code.

Tags

  • #Drupal Planet
  • Plugin Development
  • PluginBase
PluginBase
Powered by Drupal