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
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.
EntityReferenceWidgetTest::testWidgetPreview function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the preview displayed by the field widget.
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/stable9/templates/admin/image-style-preview.html.twig Theme override to display a preview of an image style.
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.
LayoutBuilderTest::testPreviewAwarePlugins function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests preview-aware layout & block plugins.
LayoutBuilderTest::testPreviewAwareTemplates function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests preview-aware templates.
LayoutDefault::$inPreview property core/lib/Drupal/Core/Layout/LayoutDefault.php Whether the plugin is being rendered in preview mode.
LayoutDefault::setInPreview function core/lib/Drupal/Core/Layout/LayoutDefault.php Set preview mode for the plugin.
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.
MediaTest::getLastPreviewRequestTransferSize function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Gets the transfer size of the last preview request.
MediaTest::getLastPreviewRequestTransferSize function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php Gets the transfer size of the last preview request.
MediaTest::previewAccessProvider function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Data provider for ::testEmbedPreviewAccess.
MediaTest::previewAccessProvider function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php Data provider for ::testEmbedPreviewAccess.
MediaTest::testEmbedPreviewAccess function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests preview route access.
MediaTest::testEmbedPreviewAccess function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php Tests preview route access.
MediaTest::testPreviewUsesDefaultThemeAndIsClientCacheable function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php The CKEditor Widget must load a preview generated using the default theme.
MediaTest::testPreviewUsesDefaultThemeAndIsClientCacheable function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php The CKEditor Widget must load a preview generated using the default theme.
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-container.css file core/themes/olivero/css/components/node-preview-container.css Node preview container styling.
node-preview-container.pcss.css file core/themes/olivero/css/components/node-preview-container.pcss.css Node preview container styling.
node-preview.css file core/profiles/demo_umami/themes/umami/css/components/content/node-preview.css This file is used for node preview styling.
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/stable9/css/node/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::$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.

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