node.services.yml
Same filename in other branches
File
-
core/
modules/ node/ node.services.yml
View source
- services:
- node.route_subscriber:
- class: Drupal\node\Routing\RouteSubscriber
- tags:
- - { name: event_subscriber }
- node.grant_storage:
- class: Drupal\node\NodeGrantDatabaseStorage
- arguments: ['@database', '@module_handler', '@language_manager']
- tags:
- - { name: backend_overridable }
- access_check.node.revision:
- class: Drupal\node\Access\NodeRevisionAccessCheck
- arguments: ['@entity_type.manager']
- tags:
- - { name: access_check, applies_to: _access_node_revision }
- access_check.node.add:
- class: Drupal\node\Access\NodeAddAccessCheck
- arguments: ['@entity_type.manager']
- tags:
- - { name: access_check, applies_to: _node_add_access }
- access_check.node.preview:
- class: Drupal\node\Access\NodePreviewAccessCheck
- arguments: ['@entity_type.manager']
- tags:
- - { name: access_check, applies_to: _node_preview_access }
- node.admin_path.route_subscriber:
- class: Drupal\node\EventSubscriber\NodeAdminRouteSubscriber
- arguments: ['@config.factory', '@router.builder']
- tags:
- - { name: event_subscriber }
- node_preview:
- class: Drupal\node\ParamConverter\NodePreviewConverter
- arguments: ['@tempstore.private']
- tags:
- - { name: paramconverter }
- lazy: true
- node.page_cache_response_policy.deny_node_preview:
- class: Drupal\node\PageCache\DenyNodePreview
- arguments: ['@current_route_match']
- public: false
- tags:
- - { name: page_cache_response_policy }
- cache_context.user.node_grants:
- class: Drupal\node\Cache\NodeAccessGrantsCacheContext
- arguments: ['@current_user']
- tags:
- - { name: cache.context }
- node.node_route_context:
- class: Drupal\node\ContextProvider\NodeRouteContext
- arguments: ['@current_route_match']
- tags:
- - { name: 'context_provider' }
Services
Title | Deprecated | Summary |
---|---|---|
access_check.node.add | Drupal\node\Access\NodeAddAccessCheck | |
access_check.node.preview | Drupal\node\Access\NodePreviewAccessCheck | |
access_check.node.revision | Drupal\node\Access\NodeRevisionAccessCheck | |
cache_context.user.node_grants | Drupal\node\Cache\NodeAccessGrantsCacheContext | |
node.admin_path.route_subscriber | Drupal\node\EventSubscriber\NodeAdminRouteSubscriber | |
node.grant_storage | Drupal\node\NodeGrantDatabaseStorage | |
node.node_route_context | Drupal\node\ContextProvider\NodeRouteContext | |
node.page_cache_response_policy.deny_node_preview | Drupal\node\PageCache\DenyNodePreview | |
node.route_subscriber | Drupal\node\Routing\RouteSubscriber | |
node_preview | Drupal\node\ParamConverter\NodePreviewConverter |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.