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
BlockPluginTrait::$inPreview property core/lib/Drupal/Core/Block/BlockPluginTrait.php Whether the plugin is being rendered in preview mode.
BlockPluginTrait::getPreviewFallbackString function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setInPreview function core/lib/Drupal/Core/Block/BlockPluginTrait.php
ColorSafePreviewTest class core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Tests sanitizing color preview loaded from theme.
ColorSafePreviewTest.php file core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
ColorSafePreviewTest::$bigUser property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php A user with administrative permissions.
ColorSafePreviewTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php The theme to install as the default for testing.
ColorSafePreviewTest::$modules property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Modules to enable.
ColorSafePreviewTest::setUp function core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
ColorSafePreviewTest::testColorPreview function core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Ensures color preview.html is sanitized.
DenyNodePreview class core/modules/node/src/PageCache/DenyNodePreview.php Cache policy for node preview page.
DenyNodePreview.php file core/modules/node/src/PageCache/DenyNodePreview.php
DenyNodePreview::$routeMatch property core/modules/node/src/PageCache/DenyNodePreview.php The current route match.
DenyNodePreview::check function core/modules/node/src/PageCache/DenyNodePreview.php Determines whether it is save to store a page in the cache.
DenyNodePreview::__construct function core/modules/node/src/PageCache/DenyNodePreview.php Constructs a deny node preview page cache policy.
DenyNodePreviewTest class core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php @coversDefaultClass \Drupal\node\PageCache\DenyNodePreview[[api-linebreak]]
@group node
DenyNodePreviewTest.php file core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php
DenyNodePreviewTest::$policy property core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php The response policy under test.
DenyNodePreviewTest::$request property core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php A request object.
DenyNodePreviewTest::$response property core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php A response object.
DenyNodePreviewTest::$routeMatch property core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php The current route match.
DenyNodePreviewTest::providerPrivateImageStyleDownloadPolicy function core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php Provides data and expected results for the test method.
DenyNodePreviewTest::setUp function core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php
DenyNodePreviewTest::testPrivateImageStyleDownloadPolicy function core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php Asserts that caching is denied on the node preview route.
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.
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.
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/ckeditor/tests/src/FunctionalJavascript/MediaTest.php Data provider for ::testEmbedPreviewAccess.
MediaTest::testEmbedPreviewAccess function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php Tests preview route access.
MediaTest::testPreviewUsesDefaultThemeAndIsClientCacheable function core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php The CKEditor Widget must load a preview generated using the default theme.
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.preview.css file core/themes/stable/css/node/node.preview.css Styles for node preview page.
NodeForm::preview function core/modules/node/src/NodeForm.php Form submission handler for the 'preview' action.
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/modules/color/tests/modules/color_test/themes/color_test_theme/color/preview.html
preview.html file core/modules/color/preview.html
preview.html file core/themes/bartik/color/preview.html
PreviewAwarePluginInterface interface core/lib/Drupal/Core/Plugin/PreviewAwarePluginInterface.php Provides an interface to support preview mode injection in plugins.
PreviewAwarePluginInterface.php file core/lib/Drupal/Core/Plugin/PreviewAwarePluginInterface.php
PreviewAwarePluginInterface::setInPreview function core/lib/Drupal/Core/Plugin/PreviewAwarePluginInterface.php Set preview mode for the plugin.
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
PreviewFallbackInterface::getPreviewFallbackString function core/lib/Drupal/Core/Render/PreviewFallbackInterface.php Returns a string to be used as a fallback during preview.
views-ui-view-preview-section.html.twig file core/themes/stable/templates/admin/views-ui-view-preview-section.html.twig Theme override for a views UI preview section.
views_ui_test_views_preview_info_alter function core/modules/views_ui/tests/modules/views_ui_test/views_ui_test.module Implements hook_views_preview_info_alter().

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