Why should I create my own plugins?

acrosman

Drupal 8 had made it easy to use plugins to extend and improve services provided by core and modules. Instead of plugins being something that are written rarely and usually by intermediate to advanced devlopers, they are now a basic part of everyday developer work. Drupal 8 also makes it easy to create plugin managers of your own to allow your work to be easily extended but other developers (include a future version of yourself). But creating your own plugin manager can be a bit of a mystery: why bother when I could create a few more functions on my service or routes to my controller?

This session will start as a basic overview of how to create plugins to basic elements that are easy to maintain over the life of a project, and then dive deeper into why and how you can build your own plugin manager and create custom plugins. This intermediate level session will give attendees metrics to use to determine when a custom plugin manager makes sense in their project, examples of when it has been useful in real-world projects beyond the contrib space, and a walk through of how to create your own plugin setup.

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version