node.services.yml

Same filename in other branches
  1. 9 core/modules/node/node.services.yml
  2. 10 core/modules/node/node.services.yml
  3. 11.x core/modules/node/node.services.yml
core/modules/node/node.services.yml

File

core/modules/node/node.services.yml

View source
  1. services:
  2. node.route_subscriber:
  3. class: Drupal\node\Routing\RouteSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. node.grant_storage:
  7. class: Drupal\node\NodeGrantDatabaseStorage
  8. arguments: ['@database', '@module_handler', '@language_manager']
  9. tags:
  10. - { name: backend_overridable }
  11. access_check.node.revision:
  12. class: Drupal\node\Access\NodeRevisionAccessCheck
  13. arguments: ['@entity_type.manager']
  14. tags:
  15. - { name: access_check, applies_to: _access_node_revision }
  16. access_check.node.add:
  17. class: Drupal\node\Access\NodeAddAccessCheck
  18. arguments: ['@entity_type.manager']
  19. tags:
  20. - { name: access_check, applies_to: _node_add_access }
  21. access_check.node.preview:
  22. class: Drupal\node\Access\NodePreviewAccessCheck
  23. arguments: ['@entity_type.manager']
  24. tags:
  25. - { name: access_check, applies_to: _node_preview_access }
  26. node.admin_path.route_subscriber:
  27. class: Drupal\node\EventSubscriber\NodeAdminRouteSubscriber
  28. arguments: ['@config.factory', '@router.builder']
  29. tags:
  30. - { name: event_subscriber }
  31. node_preview:
  32. class: Drupal\node\ParamConverter\NodePreviewConverter
  33. arguments: ['@tempstore.private']
  34. tags:
  35. - { name: paramconverter }
  36. lazy: true
  37. node.page_cache_response_policy.deny_node_preview:
  38. class: Drupal\node\PageCache\DenyNodePreview
  39. arguments: ['@current_route_match']
  40. public: false
  41. tags:
  42. - { name: page_cache_response_policy }
  43. cache_context.user.node_grants:
  44. class: Drupal\node\Cache\NodeAccessGrantsCacheContext
  45. arguments: ['@current_user']
  46. tags:
  47. - { name: cache.context }
  48. node.node_route_context:
  49. class: Drupal\node\ContextProvider\NodeRouteContext
  50. arguments: ['@current_route_match']
  51. tags:
  52. - { 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.