Search for element

  1. Search 9.5.x for element
  2. Search 8.9.x for element
  3. Search 10.3.x for element
  4. Search 11.x for element
  5. Other projects
Title Object type File name Summary
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.
FormsElementsValidationTestCase class modules/simpletest/tests/form.test Tests validation of additional Form API properties.
FormsElementsValidationTestCase::formSubmitHelper function modules/simpletest/tests/form.test Helper function for the option check test to submit a form while collecting errors.
FormsElementsValidationTestCase::getInfo function modules/simpletest/tests/form.test
FormsElementsValidationTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsElementsValidationTestCase::testMaxlengthValidation function modules/simpletest/tests/form.test Tests #maxlength validation.
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.
FormsTriggeringElementTestCase class modules/simpletest/tests/form.test Test that FAPI correctly determines $form_state['triggering_element'].
FormsTriggeringElementTestCase::getInfo function modules/simpletest/tests/form.test
FormsTriggeringElementTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsTriggeringElementTestCase::testAttemptAccessControlBypass function modules/simpletest/tests/form.test Test that $form_state['triggering_element'] does not get set to a button
with #access=FALSE.
FormsTriggeringElementTestCase::testNoButtonInfoInPost function modules/simpletest/tests/form.test Test the determination of $form_state['triggering_element'] when no button
information is included in the POST data, as is sometimes the case when
the ENTER key is pressed in a textfield in Internet Explorer.
form_pre_render_conditional_form_element function includes/form.inc Adds form element theming to an element if its title or description is set.
form_test_element_validate_name function modules/simpletest/tests/form_test.module Form element validation handler for 'name' in form_test_validate_form().
form_test_limit_validation_errors_element_validate_test function modules/simpletest/tests/form_test.module Form element validation handler for the 'test' element.
form_test_storage_element_validate_value_cached function modules/simpletest/tests/form_test.module Form element validation handler for 'value' element in form_test_storage_form().
hook_element_info function modules/system/system.api.php Allows modules to declare their own Form API element types and specify their
default values.
hook_element_info_alter function modules/system/system.api.php Alter the element type information returned from modules.
NodeFeedTestCase::testNodeFeedExtraChannelElements function modules/node/node.test Ensures that node_feed() accepts and prints extra channel elements.
PagerDefault::$element property includes/pager.inc The unique ID of this pager on this page.
PagerDefault::$maxElement property includes/pager.inc The highest element we've autogenerated so far.
PagerDefault::element function includes/pager.inc Specify the element ID for this pager query.
PagerDefault::ensureElement function includes/pager.inc Ensure that there is an element associated with this query.
If an element was not specified previously, then the value of the
$maxElement counter is taken, after which the counter is incremented.
PagerDefault::getElement function includes/pager.inc Gets the element ID for this pager query.
path_form_element_validate function modules/path/path.module Form element validation handler for URL alias form element.
RenderElementTypesTestCase class modules/simpletest/tests/theme.test Tests the markup of core render element types passed to drupal_render().
RenderElementTypesTestCase::assertElements function modules/simpletest/tests/theme.test Asserts that an array of elements is rendered properly.
RenderElementTypesTestCase::getInfo function modules/simpletest/tests/theme.test
RenderElementTypesTestCase::testContainer function modules/simpletest/tests/theme.test Tests system #type 'container'.
RenderElementTypesTestCase::testHtmlTag function modules/simpletest/tests/theme.test Tests system #type 'html_tag'.
system_element_info function modules/system/system.module Implements hook_element_info().
theme_form_element function includes/form.inc Returns HTML for a form element.
theme_form_element_label function includes/form.inc Returns HTML for a form element label and required marker.

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