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
$element global external_documentation/developer/globals.php Structured array describing the data to be rendered.
aggregator_element_data function modules/aggregator/aggregator.parser.inc Performs an action when data is encountered.
aggregator_element_end function modules/aggregator/aggregator.parser.inc Performs an action when a closing tag is encountered.
aggregator_element_start function modules/aggregator/aggregator.parser.inc Performs an action when an opening tag is encountered.
AJAXElementValidation class modules/simpletest/tests/ajax.test Miscellaneous Ajax tests using ajax_test module.
AJAXElementValidation::getInfo function modules/simpletest/tests/ajax.test
AJAXElementValidation::testAJAXElementValidation function modules/simpletest/tests/ajax.test Try to post an Ajax change to a form that has a validated element.
ajax_pre_render_element function includes/ajax.inc Adds Ajax information about an element to communicate with JavaScript.
contextual_element_info function modules/contextual/contextual.module Implements hook_element_info().
DatabaseSelectPagerDefaultTestCase::testElementNumbers function modules/simpletest/tests/database_test.test Confirm that every pager gets a valid non-overlaping element ID.
DrupalRenderTestCase::assertRenderedElement function modules/simpletest/tests/common.test
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.
element_child function includes/common.inc Checks if the key is a child.
element_children function includes/common.inc Identifies the children of an element array, optionally sorted by weight.
element_get_visible_children function includes/common.inc Returns the visible children of an element.
element_info function includes/common.inc Retrieves the default properties for the defined element type.
element_info_property function includes/common.inc Retrieves a single property for the defined element type.
element_properties function includes/common.inc Gets properties of a structured array element (keys beginning with '#').
element_property function includes/common.inc Checks if the key is a property.
element_set_attributes function includes/common.inc Sets HTML attributes based on element properties.
element_sort function includes/common.inc Function used by uasort to sort structured arrays by weight.
element_sort_by_title function includes/common.inc Array sorting callback; sorts elements by title.
element_validate_integer function includes/form.inc Form element validation handler for integer elements.
element_validate_integer_positive function includes/form.inc Form element validation handler for integer elements that must be positive.
element_validate_number function includes/form.inc Form element validation handler for number elements.
field_form_element_after_build function modules/field/field.form.inc #after_build callback for field elements in a form.
field_ui_element_info function modules/field_ui/field_ui.module Implements hook_element_info().
FileManagedFileElementTestCase class modules/file/tests/file.test Tests the 'managed_file' element type.
FileManagedFileElementTestCase::$originalDisplayErrorsValue property modules/file/tests/file.test
FileManagedFileElementTestCase::getInfo function modules/file/tests/file.test
FileManagedFileElementTestCase::setUp function modules/file/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileManagedFileElementTestCase::tearDown function modules/file/tests/file.test Delete created files and temporary files directory, delete the tables created by setUp(),
and reset the database prefix.
FileManagedFileElementTestCase::testManagedFile function modules/file/tests/file.test Tests the managed_file element type.
FileManagedFileElementTestCase::testManagedFileExceedMaximumFileSize function modules/file/tests/file.test Tests uploading a file that exceeds the maximum file size.
FileManagedFileElementTestCase::_postMaxSizeToInteger function modules/file/tests/file.test Converts php.ini post_max_size value to integer.
file_element_info function modules/file/file.module Implements hook_element_info().
filter_dom_serialize_escape_cdata_element function modules/filter/filter.module Adds comments around the <!CDATA section in a dom element.
filter_element_info function modules/filter/filter.module Implements hook_element_info().
format_xml_elements function includes/common.inc Formats XML elements.
FormElementTestCase class modules/simpletest/tests/form.test Tests building and processing of core form elements.
FormElementTestCase::$profile property modules/simpletest/tests/form.test The profile to install as a basis for testing.
FormElementTestCase::getInfo function modules/simpletest/tests/form.test
FormElementTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormElementTestCase::testOptions function modules/simpletest/tests/form.test Tests expansion of #options for #type checkboxes and radios.
FormElementTestCase::testWeightDefaultValue function modules/simpletest/tests/form.test Tests Weight form element #default_value behavior.
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.

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