access_check.node.revision

Same name in other branches
  1. 8.9.x core/modules/node/node.services.yml \access_check.node.revision

Class

Drupal\node\Access\NodeRevisionAccessCheck

Tags

  • access_check
2 string references to access_check.node.revision
NodeRevisionPermissionsTest::testNodeRevisionAccessAnyType in core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
Tests general revision access permissions.
NodeRevisionPermissionsTest::testNodeRevisionAccessPerType in core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
Tests revision access permissions for a specific content type.

File

core/modules/node/node.services.yml

View source
  1. class: Drupal\node\Access\NodeRevisionAccessCheck
  2. arguments:
  3. - '@entity_type.manager'
  4. tags:
  5. - { name: access_check, applies_to: _access_node_revision }
  6. deprecated: 'The "%service_id%" service is deprecated. You should use the ''access_check.entity'' service instead. See https://www.drupal.org/node/3161210'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.