access_check.node.revision
Same name in other branches
- 8.9.x core/modules/node/node.services.yml \access_check.node.revision
Class
Drupal\node\Access\NodeRevisionAccessCheckTags
- 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
- class: Drupal\node\Access\NodeRevisionAccessCheck
- arguments:
- - '@entity_type.manager'
- tags:
- - { name: access_check, applies_to: _access_node_revision }
- 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.