node_preview

Same name in other branches
  1. 8.9.x core/modules/node/node.services.yml \node_preview
  2. 10 core/modules/node/node.services.yml \node_preview
  3. 11.x core/modules/node/node.services.yml \node_preview

Class

Drupal\node\ParamConverter\NodePreviewConverter

Tags

  • paramconverter
14 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

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

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