Discover Existing Plugin Types for Drupal 8, Drupal 9

Last updated February 26, 2021
Module Development8.9.x/9.0.x

Knowing which plugin types exist and the use case for each is important when it comes to writing modules that extend Drupal's existing functionality. If you want to add additional functionality, you need to first know which plugin type provides that functionality.

In this tutorial, we'll list some of the more commonly-used plugin types and their use case, show where you can find a more complete list of plugin types provided by core, and demonstrate how to use Drupal Console to generate a list of all available plugin types for your specific site.