node.services.yml
Same filename and directory in other branches
File
-
core/
modules/ node/ node.services.yml
View source
- parameters:
- node.skip_procedural_hook_scan: true
- node.moved_classes:
- 'Drupal\node\NodeForm':
- class: 'Drupal\node\Form\NodeForm'
- deprecation_version: drupal:11.2.0
- removed_version: drupal:12.0.0
- change_record: https://www.drupal.org/node/3517871
- 'Drupal\node\NodeTypeForm':
- class: 'Drupal\node\Form\NodeTypeForm'
- deprecation_version: drupal:11.2.0
- removed_version: drupal:12.0.0
- change_record: https://www.drupal.org/node/3517871
-
- services:
- _defaults:
- autoconfigure: true
- node.route_subscriber:
- class: Drupal\node\Routing\RouteSubscriber
- node.grant_storage:
- class: Drupal\node\NodeGrantDatabaseStorage
- autowire: true
- tags:
- - { name: backend_overridable }
- Drupal\node\NodeGrantDatabaseStorageInterface: '@node.grant_storage'
- 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']
- node_preview:
- class: Drupal\node\ParamConverter\NodePreviewConverter
- arguments: ['@tempstore.private']
- tags:
- - { name: paramconverter }
- lazy: true
- cache_context.user.node_grants:
- class: Drupal\node\Cache\NodeAccessGrantsCacheContext
- arguments: ['@current_user', '@entity_type.manager']
- tags:
- - { name: cache.context }
- node.node_route_context:
- class: Drupal\node\ContextProvider\NodeRouteContext
- arguments: ['@current_route_match']
- tags:
- - { name: 'context_provider' }
- node.view_all_nodes_memory_cache:
- class: Drupal\Core\Cache\MemoryCache\MemoryCache
- autowire: true
- Drupal\node\NodeBulkUpdate:
- 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.