Feature: The plugins dispatch the plugin view event
Description
The program list, the program finder and the program details of
academic_programs dispatch
\FGTCLB\ of
academic_base, once each time they render, after assigning their
own variables. A listener adds a variable to their templates without replacing
the controller.
The context of the event names the extension
Academic and the
plugin names
Program,
Program and
Program, which a listener checks for the plugin it means.
The event, with an example listener, is described in the changelog of academic_base. What these plugins pass in is described in ModifyPluginViewEvent.
Impact
A project adds a variable to the templates of these plugins with an event listener instead of a subclass or a copy of the controller. The behaviour is the same on TYPO3 v13 and v14.