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 10.3.x for preview
  5. Other projects
Title Object type File name Summary
access_check.node.preview service core/modules/node/node.services.yml Drupal\node\Access\NodePreviewAccessCheck
big-pipe-interface-preview--navigation-shortcut-lazy-builder-lazyLinks--Shortcuts.html.twig file core/modules/navigation/templates/big-pipe-interface-preview--navigation-shortcut-lazy-builder-lazyLinks--Shortcuts.html.twig Placeholder content for the shortcuts menu. This is used to eliminate layout
shifts as BigPipe injects data.
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/modules/big_pipe/templates/big-pipe-interface-preview.html.twig Default theme implementation for a BigPipe JS placeholder interface preview.
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.
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.
BigPipeTestController::placeholderPreview function core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php A page with placeholder preview.
big_pipe_theme_suggestions_big_pipe_interface_preview function core/modules/big_pipe/big_pipe.module Implements hook_theme_suggestions_HOOK().
block--preview-aware-block.html.twig file core/modules/layout_builder/tests/modules/layout_builder_test/templates/block--preview-aware-block.html.twig {% if in_preview %}
The block template is being previewed.
{% endif %}

{% include '@block/block.html.twig' %}
BlockComponentRenderArrayTest::testOnBuildRenderInPreview function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
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
claro_form_node_preview_form_select_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
CommentForm::preview function core/modules/comment/src/CommentForm.php Form submission handler for the 'preview' action.
CommentPreviewTest class core/modules/comment/tests/src/Functional/CommentPreviewTest.php Tests comment preview.
CommentPreviewTest.php file core/modules/comment/tests/src/Functional/CommentPreviewTest.php
CommentPreviewTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentPreviewTest.php The theme to install as the default for testing.
CommentPreviewTest::$modules property core/modules/comment/tests/src/Functional/CommentPreviewTest.php Modules to install.
CommentPreviewTest::testCommentEditPreviewSave function core/modules/comment/tests/src/Functional/CommentPreviewTest.php Tests comment edit, preview, and save.
CommentPreviewTest::testCommentPreview function core/modules/comment/tests/src/Functional/CommentPreviewTest.php Tests comment preview.
CommentPreviewTest::testCommentPreviewDuplicateSubmission function core/modules/comment/tests/src/Functional/CommentPreviewTest.php Tests comment preview.
CommentTestBase::setCommentPreview function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets the value governing the previewing mode for the comment form.
comment_preview function core/modules/comment/comment.module Generates a comment preview.
ContentPreviewToggleTest class core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Tests toggling of content preview.
ContentPreviewToggleTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php
ContentPreviewToggleTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php The theme to install as the default for testing.
ContentPreviewToggleTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Modules to install.
ContentPreviewToggleTest::assertContextualLinks function core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Checks if contextual links are working properly.
ContentPreviewToggleTest::assertOrderInPage function core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Asserts that blocks in a given order in the page.
ContentPreviewToggleTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php
ContentPreviewToggleTest::testContentPreviewToggle function core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php Tests the content preview toggle.
DefaultsSectionStorage::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Gets contexts for use during preview.
DefaultsSectionStorageTest::testGetContextsDuringPreview function core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php @covers ::getContextsDuringPreview
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

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