Search for preview

  1. Search 7.x for preview
  2. Search 9.5.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
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::$deprecatedProperties property core/modules/node/src/Form/NodePreviewForm.php
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 Test 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
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
PagePreviewTest class core/modules/node/tests/src/Functional/PagePreviewTest.php Tests the node entity preview functionality.
PagePreviewTest.php file core/modules/node/tests/src/Functional/PagePreviewTest.php
PagePreviewTest::$defaultTheme property core/modules/node/tests/src/Functional/PagePreviewTest.php The theme to install as the default for testing.
PagePreviewTest::$fieldName property core/modules/node/tests/src/Functional/PagePreviewTest.php The name of the created field.
PagePreviewTest::$modules property core/modules/node/tests/src/Functional/PagePreviewTest.php Enable the comment, node and taxonomy modules to test on the preview.
PagePreviewTest::setUp function core/modules/node/tests/src/Functional/PagePreviewTest.php
PagePreviewTest::testPagePreview function core/modules/node/tests/src/Functional/PagePreviewTest.php Checks the node preview functionality.
PagePreviewTest::testPagePreviewWithRevisions function core/modules/node/tests/src/Functional/PagePreviewTest.php Checks the node preview functionality, when using revisions.
PagePreviewTest::testSimultaneousPreview function core/modules/node/tests/src/Functional/PagePreviewTest.php Checks the node preview accessible for simultaneous node editing.
preview.css file core/themes/bartik/color/preview.css /* ---------- Preview Styles ----------- */
.js .color-preview {
float: none !important;
clear: both;
}
.color-preview {
overflow: hidden;
margin-bottom: 10px;
word-wrap: break-word;
background-color: #fff;
font-family: Georgia,…
preview.html file core/themes/bartik/color/preview.html
preview.html file core/modules/color/preview.html
preview.html file core/modules/color/tests/modules/color_test/themes/color_test_theme/color/preview.html
PreviewFallbackInterface interface core/lib/Drupal/Core/Render/PreviewFallbackInterface.php Allows an element to provide a fallback representation of itself for preview.
PreviewFallbackInterface.php file core/lib/Drupal/Core/Render/PreviewFallbackInterface.php

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