Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 8.9.x for element
  4. Search 11.x for element
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Element class core/modules/editor/src/Element.php Defines a service for Text Editor's render elements.
Element class core/lib/Drupal/Core/Render/Element.php Provides helper methods for Drupal render elements.
Element class core/lib/Drupal/Core/Config/Schema/Element.php Defines a generic configuration element.

All search results

Title Object type File name Summary
ElementTest::providerVisibleChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Data provider for testVisibleChildren.
ElementTest::testChild function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the child() method.
ElementTest::testChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the children() method.
ElementTest::testIgnoredChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the children() method with an ignored key/value pair.
ElementTest::testInvalidChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the children() method with an invalid key.
ElementTest::testIsEmpty function core/tests/Drupal/Tests/Core/Render/ElementTest.php @covers ::isEmpty[[api-linebreak]]
ElementTest::testIsRenderArray function core/tests/Drupal/Tests/Core/Render/ElementTest.php @covers ::isRenderArray[[api-linebreak]]
@dataProvider dataProviderIsRenderArray
ElementTest::testProperties function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the properties() method.
ElementTest::testProperty function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the property() method.
ElementTest::testSetAttributes function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the setAttributes() method.
ElementTest::testVisibleChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the visibleChildren() method.
ElementValidationTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/ElementValidationTest.php Various tests of AJAX behavior.
ElementValidationTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/ElementValidationTest.php
ElementValidationTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Ajax/ElementValidationTest.php
ElementValidationTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/ElementValidationTest.php
ElementValidationTest::testAjaxElementValidation function core/tests/Drupal/FunctionalJavascriptTests/Ajax/ElementValidationTest.php Tries to post an Ajax change to a form that has a validated element.
element_info service core/core.services.yml Alias of plugin.manager.element_info
element_info_test.module file core/modules/system/tests/modules/element_info_test/element_info_test.module Element info test.
element_info_test_element_info_alter function core/modules/system/tests/modules/element_info_test/element_info_test.module Implements hook_element_info_alter().
element_info_test_element_plugin_alter function core/modules/system/tests/modules/element_info_test/element_info_test.module Implements hook_element_plugin_alter().
EmailDefaultWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php
EntityAutocompleteElementFormTest class core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest.php file core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::$referencedEntities property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php An array of entities to be referenced in this test.
EntityAutocompleteElementFormTest::$testAutocreateUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for autocreate testing.
EntityAutocompleteElementFormTest::$testUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for testing.
EntityAutocompleteElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::getAutocompleteInput function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Returns an entity label in format needed by the EntityAutocomplete element.
EntityAutocompleteElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::testEntityAutocompleteAccess function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests that access is properly checked by the EntityAutocomplete element.
EntityAutocompleteElementFormTest::testEntityAutocompleteIdInput function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests ID input is handled correctly.
EntityAutocompleteElementFormTest::testInvalidEntityAutocompleteElement function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests invalid entries in the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest::testValidEntityAutocompleteElement function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests valid entries in the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityForm::actionsElement function core/lib/Drupal/Core/Entity/EntityForm.php Returns the action form element for the current entity form.
EntityReferenceAutocompleteTagsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php
EntityReferenceAutocompleteWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
EntityReferenceEntityFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php
EntityReferenceItem::fieldSettingsAjaxProcessElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Adds the field settings to AJAX form elements.
EntityReferenceLabelFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php
EntityReferenceTaxonomyTermRssFormatter::viewElements function core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php
EntityTestReferenceCustomCacheTagFormatter::viewElements function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldFormatter/EntityTestReferenceCustomCacheTagFormatter.php
field_test_field_widget_single_element_form_alter function core/modules/field/tests/modules/field_test/field_test.module Implements hook_field_widget_single_element_form_alter().
FileFieldWidgetTest::testWidgetElement function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests file widget element.
FileManagedFileElementTest class core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedFileElementTest class core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the 'managed_file' element type.

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