Search for preview

  1. Search 7.x for preview
  2. Search 9.5.x for preview
  3. Search 8.9.x for preview
  4. Search 11.x for preview
  5. Other projects
Title Object type File name Summary
big-pipe-interface-preview--user-toolbar-link-builder-renderDisplayName.html.twig file core/modules/big_pipe/tests/themes/big_pipe_test_theme/templates/big-pipe-interface-preview--user-toolbar-link-builder-renderDisplayName.html.twig <span class="i-am-taking-up-space">LOOK AT ME I AM CONSUMING SPACE FOR LATER</span>
big-pipe-interface-preview.html.twig file core/themes/stable9/templates/content/big-pipe-interface-preview.html.twig Theme override for a BigPipe JS placeholder interface preview.
big-pipe-interface-preview.html.twig file core/modules/big_pipe/templates/big-pipe-interface-preview.html.twig Default theme implementation for a BigPipe JS placeholder interface preview.
BigPipeInterfacePreviewThemeSuggestionsTest class core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php Tests the big_pipe_theme_suggestions_big_pipe_interface_preview() function.
BigPipeInterfacePreviewThemeSuggestionsTest.php file core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php
BigPipeInterfacePreviewThemeSuggestionsTest::$block property core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php The block being tested.
BigPipeInterfacePreviewThemeSuggestionsTest::$blockViewBuilder property core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php The block view builder.
BigPipeInterfacePreviewThemeSuggestionsTest::$controller property core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php The block storage.
BigPipeInterfacePreviewThemeSuggestionsTest::$modules property core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php Modules to install.
BigPipeInterfacePreviewThemeSuggestionsTest::setUp function core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php
BigPipeInterfacePreviewThemeSuggestionsTest::testBigPipeThemeHookSuggestions function core/modules/big_pipe/tests/src/Kernel/BigPipeInterfacePreviewThemeSuggestionsTest.php Tests template suggestions from big_pipe_theme_suggestions_big_pipe_interface_preview().
BigPipePreviewTest class core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php Tests placeholder preview functionality.
BigPipePreviewTest.php file core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php
BigPipePreviewTest::$defaultTheme property core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php The theme to install as the default for testing.
BigPipePreviewTest::$modules property core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php Modules to install.
BigPipePreviewTest::testLazyLoaderPreview function core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php Test preview functionality within placeholders.
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
LayoutBuilderBlocksTest::testPreviewAwarePlugins function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests preview-aware layout & block plugins.
MediaPreviewTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media[[api-linebreak]]
@group ckeditor5
@group #slow
@internal
MediaPreviewTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php
MediaPreviewTest::previewAccessProvider function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Data provider for ::testEmbedPreviewAccess.
MediaPreviewTest::testEmbedPreviewAccess function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Tests preview route access.
MediaPreviewTest::testErrorMessages function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Tests that failed media embed preview requests inform the end user.
MediaPreviewTest::testMediaPointerEvent function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Ensure media preview isn't clickable.
MediaPreviewTest::testPreviewUsesDefaultThemeAndIsClientCacheable function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php The CKEditor Widget must load a preview generated using the default theme.
MediaTestBase::getLastPreviewRequestTransferSize function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php Gets the transfer size of the last preview request.
NavigationSectionStorage::getContextsDuringPreview function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php Gets contexts for use during preview.
node-preview.css file core/themes/claro/css/components/node-preview.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/

.node-preview-container {
position: sticky;
z-index: 499;
display: flex;
align-items: center;
node-preview.pcss.css file core/themes/claro/css/components/node-preview.pcss.css .node-preview-container {
position: sticky;
z-index: 499;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
width: 100%;
}

.node-preview-form-select {
display: flex;
align-items: center;
NodeTypeValidationTest::testPreviewModeValidation function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests that a node type's preview mode is constrained to certain values.
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.
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
StyleSerializerEntityTest::testLivePreview function core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php Tests the live preview output for json output.

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