Breaking: Renamed itemsProcFunc handler classes to FormEngine namespace
Description
While introducing the shared PSR-14 event
\FGTCLB\ to allow
modifying the select items of fields populated by an items, the two
items handler classes shipped by EXT: received a
proper namespace and class names suitable for classes providing
items implementations.
The following classes have been renamed and moved:
\FGTCLB\is nowAcademic Persons\ Backend\ Form\ Contract Items Proc Func \FGTCLB\.Academic Persons\ Backend\ Form Engine\ Contract Items \FGTCLB\is nowAcademic Persons\ Backend\ Form\ Profile Show Fields Item Proc Func \FGTCLB\.Academic Persons\ Backend\ Form Engine\ Profile Show Fields Items
Additionally the entry method of the profile show fields handler has been
streamlined from
show to
items to match the
other handlers.
The references to these classes in the shipped plugin FlexForms have been adjusted accordingly.
Impact
A reference to one of the old class names or to the old
show
method fails with an error as soon as the backend form that uses it is
rendered. This affects TCA and FlexForm items configurations,
projects extending or replacing these classes and any code instantiating them
directly.
Affected Installations
Installations that reference the old classes in own TCA/FlexForm configuration, extend or replace them, or call them directly.
Migration
Replace all usages of the old class names with the new ones and use the
items method for both handlers:
FGTCLB\AcademicPersons\Backend\Form\ContractItemsProcFunc->itemsProcFunc
=> FGTCLB\AcademicPersons\Backend\FormEngine\ContractItems->itemsProcFunc
FGTCLB\AcademicPersons\Backend\Form\ProfileShowFieldsItemProcFunc->showFields
=> FGTCLB\AcademicPersons\Backend\FormEngine\ProfileShowFieldsItems->itemsProcFunc
Projects that only replaced the shipped items should consider using the new
\FGTCLB\ event listener
instead of a custom items.