Discover Existing Plugin Types for Drupal 8, Drupal 9, and Drupal 10

Last updated June 23, 2022
Module Development9.5.x/10.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 provide several methods for discovering existing plugins in your Drupal codebase.