Search for preview
- Search 7.x for preview
- Search 8.9.x for preview
- Search 10.3.x for preview
- Search 11.x for preview
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| access_check.node.preview | service | core/ |
Drupal\node\Access\NodePreviewAccessCheck |
| block--preview-aware-block.html.twig | file | core/ |
{% if in_preview %} The block template is being previewed. {% endif %} {% include '@block/block.html.twig' %} |
| BlockComponentRenderArrayTest::testOnBuildRenderInPreview | function | core/ |
@covers ::onBuildRender[[api-linebreak]] |
| BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild | function | core/ |
@covers ::onBuildRender[[api-linebreak]] |
| BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString | function | core/ |
@covers ::onBuildRender[[api-linebreak]] |
| BlockPluginTrait::$inPreview | property | core/ |
Whether the plugin is being rendered in preview mode. |
| BlockPluginTrait::getPreviewFallbackString | function | core/ |
|
| BlockPluginTrait::setInPreview | function | core/ |
|
| ColorSafePreviewTest | class | core/ |
Tests sanitizing color preview loaded from theme. |
| ColorSafePreviewTest.php | file | core/ |
|
| ColorSafePreviewTest::$bigUser | property | core/ |
A user with administrative permissions. |
| ColorSafePreviewTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ColorSafePreviewTest::$modules | property | core/ |
Modules to enable. |
| ColorSafePreviewTest::setUp | function | core/ |
|
| ColorSafePreviewTest::testColorPreview | function | core/ |
Ensures color preview.html is sanitized. |
| CommentForm::preview | function | core/ |
Form submission handler for the 'preview' action. |
| CommentPreviewTest | class | core/ |
Tests comment preview. |
| CommentPreviewTest.php | file | core/ |
|
| CommentPreviewTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| CommentPreviewTest::$modules | property | core/ |
Modules to install. |
| CommentPreviewTest::testCommentEditPreviewSave | function | core/ |
Tests comment edit, preview, and save. |
| CommentPreviewTest::testCommentPreview | function | core/ |
Tests comment preview. |
| CommentPreviewTest::testCommentPreviewDuplicateSubmission | function | core/ |
Tests comment preview. |
| CommentTestBase::setCommentPreview | function | core/ |
Sets the value governing the previewing mode for the comment form. |
| comment_preview | function | core/ |
Generates a comment preview. |
| ContentPreviewToggleTest | class | core/ |
Tests toggling of content preview. |
| ContentPreviewToggleTest.php | file | core/ |
|
| ContentPreviewToggleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ContentPreviewToggleTest::$modules | property | core/ |
Modules to enable. |
| ContentPreviewToggleTest::assertContextualLinks | function | core/ |
Checks if contextual links are working properly. |
| ContentPreviewToggleTest::assertOrderInPage | function | core/ |
Asserts that blocks in a given order in the page. |
| ContentPreviewToggleTest::setUp | function | core/ |
|
| ContentPreviewToggleTest::testContentPreviewToggle | function | core/ |
Tests the content preview toggle. |
| DefaultsSectionStorage::getContextsDuringPreview | function | core/ |
Gets contexts for use during preview. |
| DefaultsSectionStorageTest::testGetContextsDuringPreview | function | core/ |
@covers ::getContextsDuringPreview[[api-linebreak]] |
| DenyNodePreview | class | core/ |
Cache policy for node preview page. |
| DenyNodePreview.php | file | core/ |
|
| DenyNodePreview::$routeMatch | property | core/ |
The current route match. |
| DenyNodePreview::check | function | core/ |
Determines whether it is save to store a page in the cache. |
| DenyNodePreview::__construct | function | core/ |
Constructs a deny node preview page cache policy. |
| DenyNodePreviewTest | class | core/ |
@coversDefaultClass \Drupal\node\PageCache\DenyNodePreview[[api-linebreak]] @group node |
| DenyNodePreviewTest.php | file | core/ |
|
| DenyNodePreviewTest::$policy | property | core/ |
The response policy under test. |
| DenyNodePreviewTest::$request | property | core/ |
A request object. |
| DenyNodePreviewTest::$response | property | core/ |
A response object. |
| DenyNodePreviewTest::$routeMatch | property | core/ |
The current route match. |
| DenyNodePreviewTest::providerPrivateImageStyleDownloadPolicy | function | core/ |
Provides data and expected results for the test method. |
| DenyNodePreviewTest::setUp | function | core/ |
|
| DenyNodePreviewTest::testPrivateImageStyleDownloadPolicy | function | core/ |
Asserts that caching is denied on the node preview route. |
| DisplayPluginBase::preview | function | core/ |
Renders the display for the purposes of a live preview. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.