Search for elements

  1. Search 9.5.x for elements
  2. Search 8.9.x for elements
  3. Search 10.3.x for elements
  4. Search 11.x for elements
  5. Other projects
Title Object type File name Summary
DrupalRenderTestCase::testDrupalRenderFormElements function modules/simpletest/tests/common.test Test rendering form elements without passing through form_builder().
DrupalWebTestCase::$elements property modules/simpletest/drupal_web_test_case.php The parsed version of the page.
format_xml_elements function includes/common.inc Formats XML elements.
FormsElementsLabelsTestCase class modules/simpletest/tests/form.test Test form element labels, required markers and associated output.
FormsElementsLabelsTestCase::getInfo function modules/simpletest/tests/form.test
FormsElementsLabelsTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsElementsLabelsTestCase::testFormLabels function modules/simpletest/tests/form.test Test form elements, labels, title attibutes and required marks output
correctly and have the correct label option class if needed.
FormsElementsTableSelectFunctionalTest class modules/simpletest/tests/form.test Test the tableselect form element for expected behavior.
FormsElementsTableSelectFunctionalTest::formSubmitHelper function modules/simpletest/tests/form.test Helper function for the option check test to submit a form while collecting errors.
FormsElementsTableSelectFunctionalTest::getInfo function modules/simpletest/tests/form.test
FormsElementsTableSelectFunctionalTest::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsElementsTableSelectFunctionalTest::testAdvancedSelect function modules/simpletest/tests/form.test Test the #js_select property.
FormsElementsTableSelectFunctionalTest::testAjax function modules/simpletest/tests/form.test Test presence of ajax functionality
FormsElementsTableSelectFunctionalTest::testEmptyText function modules/simpletest/tests/form.test Test the display of the #empty text when #options is an empty array.
FormsElementsTableSelectFunctionalTest::testMultipleFalse function modules/simpletest/tests/form.test Test the display of radios when #multiple is FALSE.
FormsElementsTableSelectFunctionalTest::testMultipleFalseOptionchecker function modules/simpletest/tests/form.test Test the whether the option checker gives an error on invalid tableselect values for radios.
FormsElementsTableSelectFunctionalTest::testMultipleFalseSubmit function modules/simpletest/tests/form.test Test submission of values when #multiple is FALSE.
FormsElementsTableSelectFunctionalTest::testMultipleTrue function modules/simpletest/tests/form.test Test the display of checkboxes when #multiple is TRUE.
FormsElementsTableSelectFunctionalTest::testMultipleTrueOptionchecker function modules/simpletest/tests/form.test Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
FormsElementsTableSelectFunctionalTest::testMultipleTrueSubmit function modules/simpletest/tests/form.test Test the submission of single and multiple values when #multiple is TRUE.
FormsElementsVerticalTabsFunctionalTest class modules/simpletest/tests/form.test Test the vertical_tabs form element for expected behavior.
FormsElementsVerticalTabsFunctionalTest::getInfo function modules/simpletest/tests/form.test
FormsElementsVerticalTabsFunctionalTest::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsElementsVerticalTabsFunctionalTest::testJavaScriptOrdering function modules/simpletest/tests/form.test Ensures that vertical-tabs.js is included before collapse.js.
FormsTestCase::testDisabledElements function modules/simpletest/tests/form.test Test handling of disabled elements.
NodeFeedTestCase::testNodeFeedExtraChannelElements function modules/node/node.test Ensures that node_feed() accepts and prints extra channel elements.
RenderElementTypesTestCase::assertElements function modules/simpletest/tests/theme.test Asserts that an array of elements is rendered properly.
_book_add_form_elements function modules/book/book.module Builds the common elements of the book form for the node and outline forms.
_form_test_disabled_elements function modules/simpletest/tests/form_test.module Build a form to test disabled elements.
_form_test_disabled_elements_submit function modules/simpletest/tests/form_test.module Return the form values via JSON.
_shortcut_link_form_elements function modules/shortcut/shortcut.admin.inc Helper function for building a form for adding or editing shortcut links.

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