Document the correct replacement for 'priority' from hook_node_access_records()

Created on 16 January 2010, over 15 years ago
Updated 19 March 2025, about 2 months ago

Now that we have hook_mode_access_records_alter(), the 'priority' element in http://api.drupal.org/api/function/hook_node_access_records/7 is just a dangerous remnant of the old API.

Best to remove it entirely and force developers to use the alter hook.

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component

node system

Created by

πŸ‡ΊπŸ‡ΈUnited States agentrickard Georgia (US)

Live updates comments and jobs are added and updated live.
  • API change

    Changes an existing API or subsystem. Not backportable to earlier major versions, unless absolutely required to fix a critical bug.

  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

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