Using Preprocessor Plugins In Themes
Learn how to create Preprocessor Plugins in themes and convert your existing hooks.
Using Preprocessor Plugins In Modules
Learn how to create Preprocessor Plugins in custom modules and convert your existing hooks.
Plugin Properties
Learn about the various plugin properties and their usages.
Dependency Injection
Learn how to inject service dependencies into your Preprocessor plugins.
Loading Algorithm
Learn the algorithm that affects which plugins are loaded and in what order.
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.