node.services.yml

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

File

core/modules/node/node.services.yml

View source
  1. parameters:
  2. node.skip_procedural_hook_scan: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. node.route_subscriber:
  7. class: Drupal\node\Routing\RouteSubscriber
  8. node.grant_storage:
  9. class: Drupal\node\NodeGrantDatabaseStorage
  10. autowire: true
  11. tags:
  12. - { name: backend_overridable }
  13. Drupal\node\NodeGrantDatabaseStorageInterface: '@node.grant_storage'
  14. access_check.node.preview:
  15. class: Drupal\node\Access\NodePreviewAccessCheck
  16. arguments: ['@entity_type.manager']
  17. tags:
  18. - { name: access_check, applies_to: _node_preview_access }
  19. node.admin_path.route_subscriber:
  20. class: Drupal\node\EventSubscriber\NodeAdminRouteSubscriber
  21. arguments: ['@config.factory', '@router.builder']
  22. node_preview:
  23. class: Drupal\node\ParamConverter\NodePreviewConverter
  24. arguments: ['@tempstore.private']
  25. tags:
  26. - { name: paramconverter }
  27. cache_context.user.node_grants:
  28. class: Drupal\node\Cache\NodeAccessGrantsCacheContext
  29. arguments: ['@current_user', '@entity_type.manager']
  30. tags:
  31. - { name: cache.context }
  32. node.node_route_context:
  33. class: Drupal\node\ContextProvider\NodeRouteContext
  34. arguments: ['@current_route_match']
  35. tags:
  36. - { name: 'context_provider' }
  37. node.view_all_nodes_memory_cache:
  38. class: Drupal\Core\Cache\MemoryCache\MemoryCache
  39. autowire: true
  40. Drupal\node\NodeBulkUpdate:
  41. autowire: true

Services

Title Deprecated Summary
access_check.node.preview Drupal\node\Access\NodePreviewAccessCheck
cache_context.user.node_grants Drupal\node\Cache\NodeAccessGrantsCacheContext
Drupal\node\NodeBulkUpdate
node.admin_path.route_subscriber Drupal\node\EventSubscriber\NodeAdminRouteSubscriber
node.grant_storage Drupal\node\NodeGrantDatabaseStorage
node.node_route_context Drupal\node\ContextProvider\NodeRouteContext
node.route_subscriber Drupal\node\Routing\RouteSubscriber
node.view_all_nodes_memory_cache Drupal\Core\Cache\MemoryCache\MemoryCache
node_preview Drupal\node\ParamConverter\NodePreviewConverter
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.