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
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.
FieldPluginBase::elementWrapperClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field's wrapper.
FieldPluginBase::elementWrapperType function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns a wrapper HTML element for the field..
FieldPluginBase::getElements function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Provides a list of elements valid for field HTML.
FieldPluginBaseTest::testElementClassesWithTokens function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Ensures proper token replacement when generating CSS classes.
FieldTestHooks::fieldWidgetSingleElementFormAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_field_widget_single_element_form_alter().
field_ui_preprocess_form_element__new_storage_type function core/modules/field_ui/field_ui.module Implements hook_preprocess_HOOK().
FileElementTest class core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests for the 'file' form element.
FileElementTest.php file core/modules/system/tests/src/Kernel/Form/FileElementTest.php
FileElementTest::$modules property core/modules/system/tests/src/Kernel/Form/FileElementTest.php Modules to install.
FileElementTest::testFileElement function core/modules/system/tests/src/Kernel/Form/FileElementTest.php Tests that file elements are built and processed correctly.
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.
FileManagedFileElementTest.php file core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest.php file core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
FileManagedFileElementTest::$adminUser property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php A user with administration permissions.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/Functional/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Modules to install.
FileManagedFileElementTest::getLastFileId function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Retrieves the fid of the last inserted file.
FileManagedFileElementTest::setUp function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest::testFileNameTrim function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests file names have leading . removed.
FileManagedFileElementTest::testFileRemovedFromDisk function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure a file entity can be saved when the file does not exist on disk.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/FunctionalJavascript/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.