Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Currently the override_node_options module does not work with views bulk operations.
Proposed resolution
Replace override_node_options_form_alter with hook_entity_field_access_alter() for the fields where this is possible.
Comment | File | Size | Author |
---|---|---|---|
#9 | replace-2741193-9.patch | 2.89 KB | JeroenT |
#9 | interdiff-2741193-6-9.txt | 1.95 KB | JeroenT |
Comments
Comment #2
JeroenTComment #3
JeroenTComment #6
JeroenTThis should fix the failing tests.
Comment #9
JeroenTThe revision checkbox is not a field but just a form item. So this should stay in override_node_options_form_alter().
Comment #10
JeroenTComment #11
JeroenTComment #12
opdaviesThanks @JeroenT for the patches!
The latest patch looks OK at a glance. I'll apply it to my local D8 site and do a quick manual test, probably over the weekend.
Comment #14
opdaviesCommitted. Thanks!