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 11.x for preview
  5. Other projects
Title Object type File name Summary
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::testPreviewTitle function core/modules/views_ui/tests/src/Functional/PreviewTest.php Tests HTML is filtered from the view title when previewing.
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.
RendererPlaceholdersTest::generatePlaceholderWithLazyBuilderPreview function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with a lazy builder and preview.
RendererPlaceholdersTest::testRenderLazyBuilderPreview function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests the creation of an element with a lazy_builder_preview.
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.
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
SimpleConfigSectionStorage::getContextsDuringPreview function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Gets contexts for use during preview.
StyleSerializerEntityTest::testLivePreview function core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.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_embed/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.
UnsavedPreviewTest::$modules property core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php Modules to install.
UnsavedPreviewTest::$testViews property core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php Views used by this test.
UnsavedPreviewTest::setUp function core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php Sets up a Drupal site for running functional and integration tests.
UnsavedPreviewTest::testUnsavedPageDisplayPreview function core/modules/views_ui/tests/src/Functional/UnsavedPreviewTest.php Tests previews of unsaved new page displays.
ViewExecutable::$preview property core/modules/views/src/ViewExecutable.php If this view has been previewed.
ViewExecutable::preview function core/modules/views/src/ViewExecutable.php Previews the given display, with the given arguments.
ViewExecutableTest::testCacheIsIgnoredDuringPreview function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::execute
ViewPreviewForm class core/modules/views_ui/src/ViewPreviewForm.php Form controller for the Views preview form.
ViewPreviewForm.php file core/modules/views_ui/src/ViewPreviewForm.php
ViewPreviewForm::actions function core/modules/views_ui/src/ViewPreviewForm.php Returns an array of supported actions for the current entity form.
ViewPreviewForm::form function core/modules/views_ui/src/ViewPreviewForm.php Gets the actual form array to be built.
ViewPreviewForm::submitPreview function core/modules/views_ui/src/ViewPreviewForm.php Form submission handler for the Preview button.

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