Feature: #97320 - New registration for reports and status

See forge#97320

Description

The system extension reports provides the possibility to render various reports. The most prominent and (only one) provided by the TYPO3 core is the one called Status. The Status Report itself is extendable and shows status like a system environment check and status of the used extensions.

Reports

As all reports have to implement the ReportInterface this fact is now used to automatically register the report, based on the interface, if autoconfigure is enabled in Services.yaml. Alternatively, one can manually tag a custom report with the reports.report tag (See section "Migration" in the breaking changelog).

Due to the autoconfiguration, the following methods have to be implemented:

  • getIdentifier

  • getIconIdentifier

  • getTitle

  • getDescription

Status

As all status have to implement the StatusProviderInterface this fact is now used to automatically register the status, based on the interface, if autoconfigure is enabled in Services.yaml. Alternatively, one can manually tag a custom report with the reports.status tag (See section "Migration" in the breaking changelog).

Due to the autoconfiguration, the label has to be provided by the class directly, using the now required getLabel() method.

Impact

reports and status are now automatically registered through the service configuration, based on the implemented interface.