You are here

service node_preview in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/node.services.yml \node_preview

Class

Drupal\node\ParamConverter\NodePreviewConverter

Tags

  • paramconverter
12 string references to node_preview
node.routing.yml in core/modules/node/node.routing.yml
core/modules/node/node.routing.yml
NodeForm::form in core/modules/node/src/NodeForm.php
Gets the actual form array to be built.
NodeForm::preview in core/modules/node/src/NodeForm.php
Form submission handler for the 'preview' action.
NodeForm::save in core/modules/node/src/NodeForm.php
Form submission handler for the 'save' action.
NodePreviewConverter::applies in core/modules/node/src/ParamConverter/NodePreviewConverter.php
Determines if the converter applies to a specific route and variable.

... See full list

File

core/modules/node/node.services.yml
core/modules/node/node.services.yml

View source
  1. class: Drupal\node\ParamConverter\NodePreviewConverter
  2. arguments:
  3. - '@tempstore.private'
  4. tags:
  5. - { name: paramconverter }
  6. lazy: true