Closed (fixed)
Project:
View Mode Switch Field
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 May 2026 at 20:12 UTC
Updated:
6 May 2026 at 10:34 UTC
Jump to comment: Most recent
In Drupal 11, hook implementations via functions in *.module files are deprecated. Hook classes with corresponding #[Hook('hook_whatever')] PHP attributes have to be used - all custom hook code (incl. preprocesses) should be updated for this.
See also:
n/a
n/a
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
hctomAll done, let's get this merged!
Comment #5
hctom