You are here

service access_check.node.revision in Drupal 8

Same name and namespace in other branches
  1. 9 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
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 }