Drupal 11: Views Data Alter hook clash

Created on 4 March 2025, about 1 month ago

Drupal 11.1 has rewritten the hook recognizing feature and allows to use Hook classes.

Unfortunately this kill the views recurring_events_views_data_alter in recurring_events.views.inc.

The reason behind is the fact, that there is a sub module called "recurring_events_views" and Drupal 11 uses this module to find hooks.

This results in a naming clash and the hook is never considered.

Attached, a patch replaces the hook with a class.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Recurring Events (Main module)

Created by

🇨🇭Switzerland ayalon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024