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
DisplayPluginBase::preview function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Renders the display for the purposes of a live preview.
DisplayPluginInterface::preview function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Renders the display for the purposes of a live preview.
DisplayTest::preview function core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php Renders the display for the purposes of a live preview.
ExtraFieldBlock::getPreviewFallbackString function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
Feed::preview function core/modules/views/src/Plugin/views/display/Feed.php Renders the display for the purposes of a live preview.
FieldBlock::getPreviewFallbackString function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
hook_views_preview_info_alter function core/modules/views/views.api.php Alter the view preview information.
image-preview.css file core/themes/claro/css/components/image-preview.css Image preview component.
image-preview.pcss.css file core/themes/claro/css/components/image-preview.pcss.css Image preview component.
image-style-preview.html.twig file core/themes/stable/templates/admin/image-style-preview.html.twig Theme override to display a preview of an image style.
image-style-preview.html.twig file core/modules/image/templates/image-style-preview.html.twig Default theme implementation to display a preview of an image style.
ImageFieldTestBase::previewNodeImage function core/modules/image/tests/src/Functional/ImageFieldTestBase.php Preview an image in a node.
ImageFieldTestBase::previewNodeImage function core/modules/image/src/Tests/ImageFieldTestBase.php Preview an image in a node.
LayoutPreviewAccessAllowed class core/modules/layout_builder/src/Access/LayoutPreviewAccessAllowed.php Accessible class to allow access for inline blocks in the Layout Builder.
LayoutPreviewAccessAllowed.php file core/modules/layout_builder/src/Access/LayoutPreviewAccessAllowed.php
LayoutPreviewAccessAllowed::access function core/modules/layout_builder/src/Access/LayoutPreviewAccessAllowed.php Checks data value access.
MediaFilterController::preview function core/modules/media/src/Controller/MediaFilterController.php Returns a HTML response containing a preview of the text after filtering.
MessageForm::preview function core/modules/contact/src/MessageForm.php Form submission handler for the 'preview' action.
ModuleTest::testViewsPreview function core/modules/views/tests/src/Kernel/ModuleTest.php Tests the \Drupal\views\ViewsExecutable::preview() method.
node-preview.css file core/themes/bartik/css/components/node-preview.css .node-preview-container {
position: fixed;
z-index: 499;
width: 100%;
padding: 5px 10px;
background: #d1e8f5;
background-image: -webkit-linear-gradient(top, #d1e8f5, #d3e8f4);
background-image: linear-gradient(to bottom, #d1e8f5,…
node.page_cache_response_policy.deny_node_preview service core/modules/node/node.services.yml Drupal\node\PageCache\DenyNodePreview
node.preview.css file core/modules/node/css/node.preview.css Styles for node preview page.
node.preview.css file core/themes/stable/css/node/node.preview.css Styles for node preview page.
Node::$in_preview property core/modules/node/src/Entity/Node.php Whether the node is being previewed or not.
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::$deprecatedProperties property 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 a 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 an NodeViewController object.
NodePreviewConverter class core/modules/node/src/ParamConverter/NodePreviewConverter.php Provides upcasting for a node entity in preview.
NodePreviewConverter class core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php Provides a proxy class for \Drupal\node\ParamConverter\NodePreviewConverter.
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.

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