Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
After some live practice with the RC1 release, we are making some major updates in RC2 that will require refactoring your code:
::generateReportData() is being moved from @ContextualReport to @ContextualReportContext
::getEntities() is going to have a new export standard, in which the function will return an associative array keyed to the entity type, with a list of entity IDs. A '__custom' key may also be used if you require a customized data structure for ::generateReportData()