Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for preview

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
preview.css file core/themes/bartik/color/preview.css /* ---------- Preview Styles ----------- */ .js #preview { clear: both; float: none !important; } #preview { min-width: 640px; background-color: #fff; font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; …
preview.html file core/themes/bartik/color/preview.html
preview.html file core/modules/color/preview.html
node_preview function core/modules/node/node.pages.inc Generates a node preview.
view::preview function core/modules/views/includes/view.inc Preview the given display, with the given arguments.
comment_preview function core/modules/comment/comment.module Generates a comment preview.
views_ui_preview function core/modules/views_ui/views_ui.admin.inc Returns the results of the live preview.
node.preview.css file core/modules/node/css/node.preview.css Styles for preview pages.
node_form_preview function core/modules/node/node.pages.inc Form submission handler that redirects to the node preview().
Node::$in_preview property core/modules/node/node.entity.inc The node preview status.
CommentPreviewTest class core/modules/comment/tests/comment.test Tests previewing comments.
node_preview_access function core/modules/node/node.module Access callback: Checks a user's permission for previewing a node.
theme_color_preview function core/modules/color/color.theme.inc Returns HTML for a theme's color preview.
PagePreviewTestCase class core/modules/node/tests/node.test Tests the node entity preview functionality.
_color_preview_theme function core/modules/color/color.module
views_ui_preview_form function core/modules/views_ui/views_ui.admin.inc Provide the preview formulas and the preview output, too.
Block::getAdminPreview function core/modules/layout/includes/block.class.inc Return a preview for this block.
views_ui_build_preview function core/modules/views_ui/views_ui.admin.inc
node_preview_banner_form function core/modules/node/node.pages.inc Get the preview form selection box.
NodeLayoutPreviewTestCase class core/modules/node/tests/node.test Tests that the correct layout is used for node previews.
theme_image_style_preview function core/modules/image/image.theme.inc Returns HTML for a preview of an image style.
comment_form_build_preview function core/modules/comment/comment.module Form submission handler for the 'preview' button in comment_form().
NodeBlock::getAdminPreview function core/modules/node/node.block.inc Returns a preview for this block.
PagePreviewTestCase::$term property core/modules/node/tests/node.test
PagePreviewTestCase::setUp function core/modules/node/tests/node.test Sets up a Backdrop site for running functional and integration tests.
FieldBlock::getAdminPreview function core/modules/field/field.block.inc Sets description text on draggable block in Layout builder.
color_save_preview_settings function core/modules/color/color.module Callback function to handle saving preview settings to the user's session.
BlockBroken::getAdminPreview function core/modules/layout/includes/block.class.inc Return a preview for this block.
hook_views_preview_info_alter function core/modules/views/views.api.php Alter the information box that (optionally) appears with a view preview, including query and performance statistics.
views_plugin_display::preview function core/modules/views/plugins/views_plugin_display.inc Fully render the display for the purposes of a live preview or some other AJAXy reason.
theme_node_preview_banner_form function core/modules/node/node.theme.inc Returns HTML for node_preview_banner_form().
NodeLayoutPreviewTestCase::setUp function core/modules/node/tests/node.test Sets up test case.
Block::getAdminConditionsPreview function core/modules/layout/includes/block.class.inc Return a fieldset listing any visibility conditions set for this block.
PagePreviewTestCase::$field_name property core/modules/node/tests/node.test
views_ui_edit_form_submit_preview function core/modules/views_ui/views_ui.admin.inc Submit handler when Preview button is clicked.
views_ajax_command_trigger_preview function core/modules/views/includes/ajax.inc Trigger the Views live preview.
NodeLayoutPreviewTestCase::lastNid function core/modules/node/tests/node.test Returns the NID of the most recently created node of our content type.
views_plugin_display_feed::preview function core/modules/views/plugins/views_plugin_display_feed.inc Fully render the display for the purposes of a live preview or some other AJAXy reason.
DashboardMenuBlock::getAdminPreview function core/modules/dashboard/includes/block.menus.inc Return a preview for this block.
theme_views_ui_view_preview_section function core/modules/views_ui/views_ui.theme.inc Returns the HTML for a section of a View being previewed within the Views UI.
DashboardNewsBlock::getAdminPreview function core/modules/dashboard/includes/block.news.inc Return a preview for this block.
CommentHelperCase::setCommentPreview function core/modules/comment/tests/comment.test Sets the value governing the previewing mode for the comment form.
node_preview_banner_form_node_submit function core/modules/node/node.pages.inc Submit handler for the node preview banner form.
PagePreviewTestCase::testPagePreview function core/modules/node/tests/node.test Checks the node preview functionality.
DashboardCreateBlock::getAdminPreview function core/modules/dashboard/includes/block.create.inc Return a preview for this block.
DashboardUpdateBlock::getAdminPreview function core/modules/dashboard/includes/block.update.inc Return a preview for this block.
DashboardWelcomeBlock::getAdminPreview function core/modules/dashboard/includes/block.welcome.inc Return a preview for this block.
CommentPreviewTest::testCommentPreview function core/modules/comment/tests/comment.test Tests comment preview.
node_layout_preview_revision_test.info file core/modules/node/tests/node_layout_preview_revision_test/node_layout_preview_revision_test.info name = Node Layout Preview/Revision Test description = Support module for node module tests of node preview and revision page layouts. package = Testing version = BACKDROP_VERSION type = module backdrop = 1.x hidden = TRUE
PagePreviewTestCase::$field_email_name property core/modules/node/tests/node.test

Pages

  • 1
  • 2
  • next ›
  • last »
  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
    • Contributed modules
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Become a maintainer
    • Adopt a project
    • Contribute to documentation
  • API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS
  • backdropcms.org
  • forum.backdropcms.org
  • events.backdropcms.org