Search for preview

  1. Search 7.x for preview
  2. Search 8.9.x for preview
  3. Search 10.3.x for preview
  4. Search 11.x for preview
  5. Other projects
Title Object type File name Summary
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.
NodePreviewLinkTest::$modules property core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php Modules to enable.
NodePreviewLinkTest::setUp function core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php
NodePreviewLinkTest::testPreviewLinks function core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php Tests the behavior of clicking preview links.
NodeType::$nodePreview property core/modules/node/src/Plugin/migrate/source/d6/NodeType.php Node preview optional / required.
NodeType::$nodePreview property core/modules/node/src/Plugin/migrate/source/d7/NodeType.php Node preview optional / required.
NodeType::$preview_mode property core/modules/node/src/Entity/NodeType.php The preview mode.
NodeType::getPreviewMode function core/modules/node/src/Entity/NodeType.php Gets the preview mode.
NodeType::setPreviewMode function core/modules/node/src/Entity/NodeType.php Sets the preview mode.
NodeTypeInterface::getPreviewMode function core/modules/node/src/NodeTypeInterface.php Gets the preview mode.
NodeTypeInterface::setPreviewMode function core/modules/node/src/NodeTypeInterface.php Sets the preview mode.
node_preview service core/modules/node/node.services.yml Drupal\node\ParamConverter\NodePreviewConverter
olivero_form_node_preview_form_select_alter function core/themes/olivero/olivero.theme Implements hook_form_FORM_ID_alter().
OverridesSectionStorage::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Gets contexts for use during preview.
OverridesSectionStorageTest::testGetContextsDuringPreview function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::getContextsDuringPreview

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