Search for preview

  1. Search 7.x for preview
  2. Search 9.5.x for preview
  3. Search 8.9.x for preview
  4. Search 11.x for preview
  5. Other projects
Title Object type File name Summary
node.page_cache_response_policy.deny_node_preview service core/modules/node/node.services.yml Drupal\node\PageCache\DenyNodePreview
node.preview.css file core/themes/stable9/css/node/node.preview.css Styles for node preview page.
node.preview.css file core/modules/node/css/node.preview.css Styles for node preview page.
Node::$in_preview property core/modules/node/src/Entity/Node.php
NodeForm::preview function core/modules/node/src/NodeForm.php Form submission handler for the 'preview' action.
NodePreviewAccessCheck class core/modules/node/src/Access/NodePreviewAccessCheck.php Determines access to node previews.
NodePreviewAccessCheck.php file core/modules/node/src/Access/NodePreviewAccessCheck.php
NodePreviewAccessCheck::$entityTypeManager property core/modules/node/src/Access/NodePreviewAccessCheck.php The entity type manager service.
NodePreviewAccessCheck::access function core/modules/node/src/Access/NodePreviewAccessCheck.php Checks access to the node preview page.
NodePreviewAccessCheck::__construct function core/modules/node/src/Access/NodePreviewAccessCheck.php Constructs an EntityCreateAccessCheck object.
NodePreviewAnonymousTest class core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php Tests the node entity preview functionality for anonymous user.
NodePreviewAnonymousTest.php file core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php
NodePreviewAnonymousTest::$defaultTheme property core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php The theme to install as the default for testing.
NodePreviewAnonymousTest::$modules property core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php Enable node module to test on the preview.
NodePreviewAnonymousTest::setUp function core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php
NodePreviewAnonymousTest::testAnonymousPagePreview function core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php Checks the node preview functionality for anonymous users.
NodePreviewController class core/modules/node/src/Controller/NodePreviewController.php Defines a controller to render a single node in preview.
NodePreviewController.php file core/modules/node/src/Controller/NodePreviewController.php
NodePreviewController::$entityRepository property core/modules/node/src/Controller/NodePreviewController.php The entity repository service.
NodePreviewController::create function core/modules/node/src/Controller/NodePreviewController.php Instantiates a new instance of this class.
NodePreviewController::title function core/modules/node/src/Controller/NodePreviewController.php The _title_callback for the page that renders a single node in preview.
NodePreviewController::view function core/modules/node/src/Controller/NodePreviewController.php Provides a page to render a single entity.
NodePreviewController::__construct function core/modules/node/src/Controller/NodePreviewController.php Creates a NodeViewController object.
NodePreviewConverter class core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php Provides a proxy class for \Drupal\node\ParamConverter\NodePreviewConverter.
NodePreviewConverter class core/modules/node/src/ParamConverter/NodePreviewConverter.php Provides upcasting for a node entity in preview.
NodePreviewConverter.php file core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php
NodePreviewConverter.php file core/modules/node/src/ParamConverter/NodePreviewConverter.php
NodePreviewConverter::$container property core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php The service container.
NodePreviewConverter::$drupalProxyOriginalServiceId property core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php The id of the original proxied service.
NodePreviewConverter::$service property core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php The real proxied service, after it was lazy loaded.
NodePreviewConverter::$tempStoreFactory property core/modules/node/src/ParamConverter/NodePreviewConverter.php Stores the tempstore factory.
NodePreviewConverter::applies function core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php Determines if the converter applies to a specific route and variable.
NodePreviewConverter::applies function core/modules/node/src/ParamConverter/NodePreviewConverter.php Determines if the converter applies to a specific route and variable.
NodePreviewConverter::convert function core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php Converts path variables to their corresponding objects.
NodePreviewConverter::convert function core/modules/node/src/ParamConverter/NodePreviewConverter.php Converts path variables to their corresponding objects.
NodePreviewConverter::lazyLoadItself function core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php Lazy loads the real service from the container.
NodePreviewConverter::__construct function core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php Constructs a ProxyClass Drupal proxy object.
NodePreviewConverter::__construct function core/modules/node/src/ParamConverter/NodePreviewConverter.php Constructs a new NodePreviewConverter.
NodePreviewForm class core/modules/node/src/Form/NodePreviewForm.php Contains a form for switching the view mode of a node during preview.
NodePreviewForm.php file core/modules/node/src/Form/NodePreviewForm.php
NodePreviewForm::$configFactory property core/modules/node/src/Form/NodePreviewForm.php The config factory.
NodePreviewForm::$entityDisplayRepository property core/modules/node/src/Form/NodePreviewForm.php The entity display repository.
NodePreviewForm::buildForm function core/modules/node/src/Form/NodePreviewForm.php Form constructor.
NodePreviewForm::create function core/modules/node/src/Form/NodePreviewForm.php Instantiates a new instance of this class.
NodePreviewForm::getFormId function core/modules/node/src/Form/NodePreviewForm.php Returns a unique string identifying the form.
NodePreviewForm::submitForm function core/modules/node/src/Form/NodePreviewForm.php Form submission handler.
NodePreviewForm::__construct function core/modules/node/src/Form/NodePreviewForm.php Constructs a new NodePreviewForm.
NodePreviewLinkTest class core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php Tests the JavaScript prevention of navigation away from node previews.
NodePreviewLinkTest.php file core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php
NodePreviewLinkTest::$defaultTheme property core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php The theme to install as the default for testing.

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