node.services.yml 696 Bytes
Newer Older
1 2 3 4
services:
  node.grant_storage:
    class: Drupal\node\NodeGrantDatabaseStorage
    arguments: ['@database', '@module_handler']
5 6
  access_check.node.revision:
    class: Drupal\node\Access\NodeRevisionAccessCheck
7
    arguments: ['@entity.manager', '@database']
8
    tags:
9
      - { name: access_check, applies_to: _access_node_revision }
10 11
  access_check.node.add:
    class: Drupal\node\Access\NodeAddAccessCheck
12
    arguments: ['@entity.manager']
13
    tags:
14
      - { name: access_check, applies_to: _node_add_access }
15 16 17 18 19
  node.admin_path.route_subscriber:
    class: Drupal\node\EventSubscriber\NodeAdminRouteSubscriber
    arguments: ['@config.factory']
    tags:
      - { name: event_subscriber }