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::$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.
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().
FieldUiThemeHooks::preprocessFormElementNewStorageType function core/modules/field_ui/src/Hook/FieldUiThemeHooks.php 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.

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