OOP Preprocesses using Plugin API

  • Status: 
    Accepted
  • Language: 
  • Difficulty: 
  • Track: 
    Imaginarium
  • Speaker(s): 
  • Session Time: 
    Sunday, Oct 15 - 14:00 to 14:40

Drupal 8 introduced lots of fancy principles and API's, one of them is Plugin API that is commonly used for various purposes. Plugins allow users create a block, field type, field formatter or even an image style by just adding a PHP class in the right place. Isn't it the magic of Drupal that we love? Unfortunatelly not all components are handled the same way and one of them are proceprocesses that haven't changed since Drupal 7 (or earlier). I will share an alternative way to organize preprocesses for some common entity types and make them trully Drupal 8 way.

Company: