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 10.3.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::testRequiredFieldsetsAndDetails function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests the #required property on details and fieldset elements.
ElementTest::testSetAttributes function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the setAttributes() method.
ElementTest::testSubmitButtonAttribute function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests the submit_button attribute.
ElementTest::testVisibleChildren function core/tests/Drupal/Tests/Core/Render/ElementTest.php Tests the visibleChildren() method.
ElementTest::testWrapperIds function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests wrapper ids for checkboxes and radios.
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 The theme to install as the default for testing.
ElementValidationTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/ElementValidationTest.php Modules to install.
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.info.yml file core/modules/system/tests/modules/element_info_test/element_info_test.info.yml core/modules/system/tests/modules/element_info_test/element_info_test.info.yml
EmailDefaultWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php Returns the form for a single field widget.
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 Form constructor.
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 Returns a unique string identifying the form.
EntityAutocompleteElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Form submission handler.
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 Form validation handler.
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 Returns the form for a single field widget.
EntityReferenceAutocompleteWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Assigns a field-level validation error to the right widget sub-element.
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the form for a single field widget.
EntityReferenceEntityFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Builds a renderable array for a field value.
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Builds a renderable array for a field value.
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 Builds a renderable array for a field value.
EntityReferenceTaxonomyTermRssFormatter::viewElements function core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php Builds a renderable array for a field value.
EntityTestReferenceCustomCacheTagFormatter::viewElements function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldFormatter/EntityTestReferenceCustomCacheTagFormatter.php Builds a renderable array for a field value.
ExposedFilterAJAXTest::testExposedFilteringWithButtonElement function core/modules/views/tests/src/FunctionalJavascript/ExposedFilterAJAXTest.php Tests exposed filtering via AJAX with a button element.
FieldHandlerInterface::elementClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field.
FieldHandlerInterface::elementLabelClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field's label.
FieldHandlerInterface::elementLabelType function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns an HTML element for the label based upon the field's element type.
FieldHandlerInterface::elementType function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns an HTML element based upon the field's element type.
FieldHandlerInterface::elementWrapperClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field's wrapper.
FieldHandlerInterface::elementWrapperType function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns a wrapper HTML element for the field..
FieldHandlerInterface::getElements function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Provides a list of elements valid for field HTML.
FieldPluginBase::elementClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field.
FieldPluginBase::elementLabelClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field's label.
FieldPluginBase::elementLabelType function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns an HTML element for the label based upon the field's element type.
FieldPluginBase::elementType function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns an HTML element based upon the field's element type.

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