Deprecate node_access_view_all_nodes(). Move its functionality in NodeAccessControlHandlerInterface

Created on 10 March 2019, about 6 years ago
Updated 20 March 2025, 21 days ago

Problem/Motivation

Part of 🌱 [META] Remove all usages of drupal_static() & drupal_static_reset() Active effort to remove drupal_static() & drupal_static_reset() from node_access_view_all_nodes().

Proposed resolution

  • Move node_access_view_all_nodes() functionality to a new method NodeAccessControlHandlerInterface::viewAllNodes().
  • Deprecate node_access_view_all_nodes().
  • The cache reset is achieved via the existing method EntityAccessControlHandlerInterface::resetCache().

Remaining tasks

None.

User interface changes

None.

API changes

  • New method NodeAccessControlHandlerInterface::viewAllNodes().
  • node_access_view_all_nodes() is deprecated.

Data model changes

None.

Release notes snippet

N/A

📌 Task
Status

Needs work

Version

11.0 🔥

Component

node system

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

Live updates comments and jobs are added and updated live.
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