Extending Views – Views plugins
Slides
Views has long been an important component of Drupal - generally regarded as a 'must install' module in Drupal 7. With Drupal 8 it has entered core and been significantly updated to embrace many new paradigms and best practices. This includes using the annotation plugin system.
Views in fact has the most plugins for a (core) system other than Migrate and Fields - and certainly has the most seperate kinds of plugins (NINETEEN!!). These range from small effects such as sorting and fields to a full rewrite of the output such using a style plugin.
Firstly, I'll introduce annotation plugins in brief and then we'll discuss the types of effects and functionalities of the various views plugin types. Finishing off with demonstrating building a few and picking apart the details.
Learning Objectives
By the end of the session, attendes will be able to:
- Develop custom views plugins to meet complex or non-standard requirements.
- Choose likely views plugin categories to match needs.
Target Audience
- Backend Developers implementing complex view requirements
- Backend Developers interested in the plugin api
Prerequisites
- Knowledge of object oriented PHP
- Basic familiarity with views would be beneficial
- Basic familiarity with Symfony plugins would also be helpful.
Track
Experience Level
When & Where
If no timezone is set on your profile, time is displayed in UTC.
Update your profile's timezone