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
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 enable.
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.
PreviewTest::schemaDefinition function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Returns the schema definition.
PreviewTest::setUp function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
PreviewTest::testPreviewAdditionalInfo function core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests the additional information query info area.
PreviewTest::testPreviewContextual function core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests contextual links in the preview form.
PreviewTest::testPreviewError function core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests view validation error messages in the preview.
PreviewTest::testPreviewSortLink function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Tests the link to sort in the preview form.
PreviewTest::testPreviewUI function core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests arguments in the preview form.
PreviewTest::testPreviewWithPagersUI function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Tests pagers in the preview form.
PreviewTest::testTaxonomyAJAX function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Tests the taxonomy term preview AJAX.
PreviewTest::viewsData function core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php Returns the views data definition.
PreviewToggleTrait trait core/modules/layout_builder/src/Form/PreviewToggleTrait.php Provides a trait that provides a toggle for the content preview.
PreviewToggleTrait.php file core/modules/layout_builder/src/Form/PreviewToggleTrait.php
PreviewToggleTrait::buildContentPreviewToggle function core/modules/layout_builder/src/Form/PreviewToggleTrait.php Builds the content preview toggle input.
PreviewToggleTrait::currentUser function core/modules/layout_builder/src/Form/PreviewToggleTrait.php Gets the current user.
RestExport::preview function core/modules/rest/src/Plugin/views/display/RestExport.php The DisplayPluginBase preview method assumes we will be returning a render
array. The data plugin will already return the serialized string.
SectionComponentBuildRenderArrayEvent::$inPreview property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Whether the component is in preview mode or not.
SectionComponentBuildRenderArrayEvent::inPreview function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Determine if the component is in preview mode.
SectionRenderTest::testToRenderArrayPreview function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray
SectionStorageBase::getContextsDuringPreview function core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php Gets contexts for use during preview.
SectionStorageInterface::getContextsDuringPreview function core/modules/layout_builder/src/SectionStorageInterface.php Gets contexts for use during preview.
SimpleConfigSectionStorage::getContextsDuringPreview function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Gets contexts for use during preview.
StyleSerializerTest::testLivePreview function core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php Tests the live preview output for json output.
StyleTestBase::storeViewPreview function core/modules/views/tests/src/Kernel/Plugin/StyleTestBase.php Stores a view output in the elements.
template_preprocess_image_style_preview function core/modules/image/image.admin.inc Prepares variables for image style preview templates.
template_preprocess_views_ui_view_preview_section function core/modules/views_ui/views_ui.theme.inc Prepares variables for views UI view preview section templates.
TermKernelTest::testTermPreview function core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php Tests that a Term is renderable when unsaved (preview).
TestMediaFilterController::preview function core/modules/media/tests/modules/media_test_ckeditor/src/Controller/TestMediaFilterController.php Returns a HTML response containing a preview of the text after filtering.
TriggerPreviewCommand class core/modules/views/src/Ajax/TriggerPreviewCommand.php Provides an AJAX command for triggering the views live preview.
TriggerPreviewCommand.php file core/modules/views/src/Ajax/TriggerPreviewCommand.php
TriggerPreviewCommand::render function core/modules/views/src/Ajax/TriggerPreviewCommand.php Return an array to be run through json_encode and sent to the client.
UnsavedPreviewTest class core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php Tests covering Preview of unsaved Views.
UnsavedPreviewTest.php file core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php
UnsavedPreviewTest::$adminUser property core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php An admin user with the 'administer views' permission.
UnsavedPreviewTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php The theme to install as the default for testing.

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