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

Search for elements

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
date.elements.inc file core/modules/date/date.elements.inc Date forms and form themes and validation.
format_xml_elements function core/includes/common.inc Recursively formats nested XML array elements as a string.
_book_add_form_elements function core/modules/book/book.module Builds the common elements of the book form for the node and outline forms.
form_example_elements.inc file modules/examples/form_example/form_example_elements.inc This is an example demonstrating how a module can define custom form and render elements.
FormsElementsLabelsTestCase class core/modules/simpletest/tests/form.test Test form element labels, required markers and associated output.
_form_test_disabled_elements function core/modules/simpletest/tests/form_test.module Build a form to test disabled elements.
views_view_has_form_elements function core/modules/views/views.module Returns TRUE if the passed-in view contains handlers with views form implementations, FALSE otherwise.
BackdropWebTestCase::$elements property core/modules/simpletest/backdrop_web_test_case.php The parsed version of the page.
views_handler_field::get_elements function core/modules/views/handlers/views_handler_field.inc Provide a list of elements valid for field HTML.
FormsElementsDescriptionsTestCase class core/modules/simpletest/tests/form.test Test form element labels, required markers and associated output.
FormsElementsLabelsTestCase::setUp function core/modules/simpletest/tests/form.test Sets up a Backdrop site for running functional and integration tests.
_form_test_disabled_elements_submit function core/modules/simpletest/tests/form_test.module Return the form values via JSON.
ViewsPluginStyleTestBase::$elements property core/modules/views/tests/styles/views_plugin_style_base.test Stores the SimpleXML representation of the output.
FormsTestCase::testDisabledElements function core/modules/simpletest/tests/form.test Test handling of disabled elements.
FormsElementsLabelsTestCase::$profile property core/modules/simpletest/tests/form.test The profile to install as a basis for testing.
_entityreference_get_behavior_elements function core/modules/entityreference/entityreference.module Get the field or instance elements for the field configuration.
FormsElementsTableSelectFunctionalTest class core/modules/simpletest/tests/form.test Test the tableselect form element for expected behavior.
FormsElementsVerticalTabsFunctionalTest class core/modules/simpletest/tests/form.test Test the vertical_tabs form element for expected behavior.
FormsElementsDescriptionsTestCase::setUp function core/modules/simpletest/tests/form.test {inheritdoc}
RenderElementTypesTestCase::assertElements function core/modules/simpletest/tests/theme.test Asserts that an array of elements is rendered properly.
FormsElementsDescriptionsTestCase::$profile property core/modules/simpletest/tests/form.test {inheritdoc}
FormsElementsLabelsTestCase::testFormLabels function core/modules/simpletest/tests/form.test Test form elements, labels, title attributes and required marks output correctly and have the correct label option class if needed.
CommonBackdropFormatXmlElementsUnitTestCase class core/modules/simpletest/tests/common.test Tests the format_xml_elements() API function.
views_plugin_style_rss::get_channel_elements function core/modules/views/plugins/views_plugin_style_rss.inc Return an array of additional XHTML elements to add to the channel.
FormsElementsTableSelectFunctionalTest::setUp function core/modules/simpletest/tests/form.test Sets up a Backdrop site for running functional and integration tests.
FormsElementsVerticalTabsFunctionalTest::setUp function core/modules/simpletest/tests/form.test Sets up a Backdrop site for running functional and integration tests.
FormsElementsTableSelectFunctionalTest::testAjax function core/modules/simpletest/tests/form.test Test presence of ajax functionality
FormsElementsTableSelectFunctionalTest::$profile property core/modules/simpletest/tests/form.test The profile to install as a basis for testing.
FormsElementsVerticalTabsFunctionalTest::$profile property core/modules/simpletest/tests/form.test The profile to install as a basis for testing.
NodeFeedTestCase::testNodeFeedExtraChannelElements function core/modules/node/tests/node.test Ensures that node_feed() accepts and prints extra channel elements.
FormsElementsTableSelectFunctionalTest::testEmptyText function core/modules/simpletest/tests/form.test Test the display of the #empty text when #options is an empty array.
views_plugin_style_rss::get_channel_elements_atom_link function core/modules/views/plugins/views_plugin_style_rss.inc Return an atom:link XHTML element to add to the channel, to comply with the RSS 2.0 specification.
FormsElementsDescriptionsTestCase::testFormDescriptions function core/modules/simpletest/tests/form.test Test Form Descriptions.
FormsElementsTableSelectFunctionalTest::testMultipleTrue function core/modules/simpletest/tests/form.test Test the display of checkboxes when #multiple is TRUE.
FormsElementsTableSelectFunctionalTest::formSubmitHelper function core/modules/simpletest/tests/form.test Helper function for the option check test to submit a form while collecting errors.
FormsElementsTableSelectFunctionalTest::testMultipleFalse function core/modules/simpletest/tests/form.test Test the display of radios when #multiple is FALSE.
FormsElementsTableSelectFunctionalTest::testAdvancedSelect function core/modules/simpletest/tests/form.test Test the #js_select property.
CommonBackdropRenderTestCase::testBackdropRenderFormElements function core/modules/simpletest/tests/common.test Test rendering form elements without passing through form_builder().
FormsElementsTableSelectFunctionalTest::testMultipleTrueSubmit function core/modules/simpletest/tests/form.test Test the submission of single and multiple values when #multiple is TRUE.
FormsElementsTableSelectFunctionalTest::testMultipleFalseSubmit function core/modules/simpletest/tests/form.test Test submission of values when #multiple is FALSE.
FormsElementsVerticalTabsFunctionalTest::testJavaScriptOrdering function core/modules/simpletest/tests/form.test Ensures that vertical-tabs.js is included before collapse.js.
FormsElementsTableSelectFunctionalTest::testMultipleTrueOptionChecker function core/modules/simpletest/tests/form.test Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
FormsElementsTableSelectFunctionalTest::testMultipleFalseOptionChecker function core/modules/simpletest/tests/form.test Test the whether the option checker gives an error on invalid tableselect values for radios.
CommonBackdropFormatXmlElementsUnitTestCase::testParseFormatXmlElements function core/modules/simpletest/tests/common.test Provide a sample data structure and verify the XML results.

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • 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
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • 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

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org