Add all views hooks to hook_hook_info()

Created on 11 February 2013, over 11 years ago
Updated 22 July 2023, about 1 year ago

It might be a good idea to implement all views hooks in views_hook_info implementation of hook_hook_info. Then they all have the option of living in the MODULE.views.inc file.

This is also a good opportunity to expand the test coverage a bit and update the tests to use the module handler service. I think the drupal_static stuff in the current ViewsHookTest are broken slightly too.

I have also refactored views_hook_info so it's not as repetitive.

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom damiankloip

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024