Search for element

Classes

NameLocationDescription
AJAXElementValidationmodules/simpletest/tests/ajax.testMiscellaneous Ajax tests using ajax_test module.
FileManagedFileElementTestCasemodules/file/tests/file.testTests the 'managed_file' element type.
FormElementTestCasemodules/simpletest/tests/form.testTests building and processing of core form elements.
FormsElementsLabelsTestCasemodules/simpletest/tests/form.testTest form element labels, required markers and associated output.
FormsElementsTableSelectFunctionalTestmodules/simpletest/tests/form.testTest the tableselect form element for expected behavior.
FormsElementsVerticalTabsFunctionalTestmodules/simpletest/tests/form.testTest the vertical_tabs form element for expected behavior.
FormsTriggeringElementTestCasemodules/simpletest/tests/form.testTest that FAPI correctly determines $form_state['triggering_element'].

Files

NameLocationDescription
krumo/docs/elementindex.htmlkrumo/docs/elementindex.htmlFull index Package indexes Krumo b c d e f g h i k p r s v b top backtrace krumo::backtrace() in class.krumo.php Prints a debug…
krumo/docs/elementindex_Krumo.htmlkrumo/docs/elementindex_Krumo.html[Krumo] element index All elements b c d e f g h i k p r s v b top backtrace krumo::backtrace() in class.krumo.php Prints a debug…
form_example/form_example_elements.incform_example/form_example_elements.incThis is an example demonstrating how a module can define custom form and render elements.

Functions & methods

NameLocationDescription
aggregator_element_datamodules/aggregator/aggregator.parser.incPerforms an action when data is encountered.
aggregator_element_endmodules/aggregator/aggregator.parser.incPerforms an action when a closing tag is encountered.
aggregator_element_startmodules/aggregator/aggregator.parser.incPerforms an action when an opening tag is encountered.
AJAXElementValidation::getInfomodules/simpletest/tests/ajax.test
AJAXElementValidation::testAJAXElementValidationmodules/simpletest/tests/ajax.testTry to post an Ajax change to a form that has a validated element.
ajax_pre_render_elementincludes/ajax.incAdds Ajax information about an element to communicate with JavaScript.
contextual_element_infomodules/contextual/contextual.moduleImplements hook_element_info().
DatabaseSelectPagerDefaultTestCase::testElementNumbersmodules/simpletest/tests/database_test.testConfirm that every pager gets a valid non-overlaping element ID.
devel_elements_page./devel.pages.inc
DrupalRenderTestCase::assertRenderedElementmodules/simpletest/tests/common.test
DrupalRenderTestCase::testDrupalRenderFormElementsmodules/simpletest/tests/common.testTest rendering form elements without passing through form_builder().
element_childincludes/common.incChecks if the key is a child.
element_childrenincludes/common.incIdentifies the children of an element array, optionally sorted by weight.
element_get_visible_childrenincludes/common.incReturns the visible children of an element.
element_infoincludes/common.incRetrieves the default properties for the defined element type.
element_info_propertyincludes/common.incRetrieves a single property for the defined element type.
element_propertiesincludes/common.incGets properties of a structured array element (keys beginning with '#').
element_propertyincludes/common.incChecks if the key is a property.
element_set_attributesincludes/common.incSets HTML attributes based on element properties.
element_sortincludes/common.incFunction used by uasort to sort structured arrays by weight.
element_sort_by_titleincludes/common.incArray sorting callback; sorts elements by title.
element_validate_integerincludes/form.incForm element validation handler for integer elements.
element_validate_integer_positiveincludes/form.incForm element validation handler for integer elements that must be positive.
element_validate_numberincludes/form.incForm element validation handler for number elements.
field_form_element_after_buildmodules/field/field.form.inc#after_build callback for field elements in a form.
field_ui_element_infomodules/field_ui/field_ui.moduleImplements hook_element_info().
FileManagedFileElementTestCase::getInfomodules/file/tests/file.test
FileManagedFileElementTestCase::testManagedFilemodules/file/tests/file.testTests the managed_file element type.
file_element_infomodules/file/file.moduleImplements hook_element_info().
filter_dom_serialize_escape_cdata_elementmodules/filter/filter.moduleAdds comments around the <!CDATA section in a dom element.
filter_element_infomodules/filter/filter.moduleImplements hook_element_info().
format_xml_elementsincludes/common.incFormats XML elements.
FormElementTestCase::getInfomodules/simpletest/tests/form.test
FormElementTestCase::setUpmodules/simpletest/tests/form.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
FormElementTestCase::testOptionsmodules/simpletest/tests/form.testTests expansion of #options for #type checkboxes and radios.
FormExampleTestCase::testElementExampleform_example/form_example.testTest the element_example form for correct behavior.
FormsElementsLabelsTestCase::getInfomodules/simpletest/tests/form.test
FormsElementsLabelsTestCase::setUpmodules/simpletest/tests/form.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
FormsElementsLabelsTestCase::testFormLabelsmodules/simpletest/tests/form.testTest form elements, labels, title attibutes and required marks output correctly and have the correct label option class if needed.
FormsElementsTableSelectFunctionalTest::formSubmitHelpermodules/simpletest/tests/form.testHelper function for the option check test to submit a form while collecting errors.