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
access_check.node.preview service core/modules/node/node.services.yml Drupal\node\Access\NodePreviewAccessCheck
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::getPreviewFallbackString function core/lib/Drupal/Core/Block/BlockPluginTrait.php
CKEditorIntegrationTest::getLastPreviewRequestTransferSize function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Gets the transfer size of the last preview request.
CKEditorIntegrationTest::previewAccessProvider function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Data provider for ::testEmbedPreviewAccess.
CKEditorIntegrationTest::testEmbedPreviewAccess function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Tests preview route access.
CKEditorIntegrationTest::testPreviewUsesDefaultThemeAndIsClientCacheable function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php The CKEditor Widget must load a preview generated using the default theme.
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.
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::$profile property core/modules/comment/tests/src/Functional/CommentPreviewTest.php The profile to install as a basis for testing.
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.
CommentTestBase::setCommentPreview function core/modules/comment/src/Tests/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 enable.
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
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
@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.

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