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
NodePreviewLinkTest::$modules property core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php Modules to install.
NodePreviewLinkTest::setUp function core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php
NodePreviewLinkTest::testPreviewLinks function core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php Tests the behavior of clicking preview links.
NodeType::$nodePreview property core/modules/node/src/Plugin/migrate/source/d6/NodeType.php Node preview optional / required.
NodeType::$nodePreview property core/modules/node/src/Plugin/migrate/source/d7/NodeType.php Node preview optional / required.
NodeType::$preview_mode property core/modules/node/src/Entity/NodeType.php The preview mode.
NodeType::getPreviewMode function core/modules/node/src/Entity/NodeType.php Gets the preview mode.
NodeType::setPreviewMode function core/modules/node/src/Entity/NodeType.php Sets the preview mode.
NodeTypeInterface::getPreviewMode function core/modules/node/src/NodeTypeInterface.php Gets the preview mode.
NodeTypeInterface::setPreviewMode function core/modules/node/src/NodeTypeInterface.php Sets the preview mode.
NodeTypeValidationTest::testPreviewModeValidation function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php Tests that a node type's preview mode is constrained to certain values.
node_preview service core/modules/node/node.services.yml Drupal\node\ParamConverter\NodePreviewConverter
olivero_form_node_preview_form_select_alter function core/themes/olivero/olivero.theme Implements hook_form_FORM_ID_alter().
OverridesSectionStorage::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Gets contexts for use during preview.
OverridesSectionStorageTest::testGetContextsDuringPreview function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::getContextsDuringPreview
PagePreviewTest class core/modules/node/tests/src/Functional/PagePreviewTest.php Tests the node entity preview functionality.
PagePreviewTest.php file core/modules/node/tests/src/Functional/PagePreviewTest.php
PagePreviewTest::$defaultTheme property core/modules/node/tests/src/Functional/PagePreviewTest.php The theme to install as the default for testing.
PagePreviewTest::$fieldName property core/modules/node/tests/src/Functional/PagePreviewTest.php The name of the created field.
PagePreviewTest::$modules property core/modules/node/tests/src/Functional/PagePreviewTest.php Enable the comment, node and taxonomy modules to test on the preview.
PagePreviewTest::$term property core/modules/node/tests/src/Functional/PagePreviewTest.php A term.
PagePreviewTest::setUp function core/modules/node/tests/src/Functional/PagePreviewTest.php
PagePreviewTest::testPagePreview function core/modules/node/tests/src/Functional/PagePreviewTest.php Checks the node preview functionality.
PagePreviewTest::testPagePreviewCache function core/modules/node/tests/src/Functional/PagePreviewTest.php Tests node preview with dynamic_page_cache and anonymous users.
PagePreviewTest::testPagePreviewWithRevisions function core/modules/node/tests/src/Functional/PagePreviewTest.php Checks the node preview functionality, when using revisions.
PagePreviewTest::testSimultaneousPreview function core/modules/node/tests/src/Functional/PagePreviewTest.php Checks the node preview accessible for simultaneous node editing.
PreviewAwareBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/PreviewAwareBlock.php Defines a class for a context-aware block.
PreviewAwareBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/PreviewAwareBlock.php
PreviewAwareBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/PreviewAwareBlock.php Builds and returns the renderable array for this block plugin.
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.
PreviewTest class core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Tests the UI preview functionality.
PreviewTest class core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests the UI preview functionality.
PreviewTest.php file core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
PreviewTest.php file core/modules/views_ui/tests/src/Functional/PreviewTest.php
PreviewTest::$defaultTheme property core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php The theme to install as the default for testing.
PreviewTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/PreviewTest.php The theme to install as the default for testing.
PreviewTest::$modules property core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Modules to install.
PreviewTest::$testViews property core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Views used by this test.
PreviewTest::$testViews property core/modules/views_ui/tests/src/Functional/PreviewTest.php Views used by this test.
PreviewTest::assertClass function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Asserts that an element has a given class.
PreviewTest::assertPreviewAJAX function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Assert that the preview contains expected data.
PreviewTest::clickPreviewLinkAJAX function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Click on a preview link.
PreviewTest::dataSet function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Returns a very simple test dataset.
PreviewTest::enableViewsTestModule function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Sets up the views_test_data.module.
PreviewTest::getPreviewAJAX function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Get the preview form and force an AJAX preview update.

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