Files
drupal11-ddev/web/core/modules/node/node.services.yml
2025-10-08 11:39:17 -04:00

49 lines
1.6 KiB
YAML

parameters:
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
arguments: ['@database', '@module_handler', '@language_manager']
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']
tags:
- { name: cache.context }
node.node_route_context:
class: Drupal\node\ContextProvider\NodeRouteContext
arguments: ['@current_route_match']
tags:
- { name: 'context_provider' }