Search for element

  1. Search 7.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

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
LinkWidget::validateUriElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'uri' element.
ListElement class core/modules/config_translation/src/FormElement/ListElement.php Defines the list element for the configuration translation interface.
ListElement.php file core/modules/config_translation/src/FormElement/ListElement.php
ListElement::$element property core/modules/config_translation/src/FormElement/ListElement.php The schema element this form is for.
ListElement::create function core/modules/config_translation/src/FormElement/ListElement.php Creates a form element instance from a schema definition.
ListElement::getGroupTitle function core/modules/config_translation/src/FormElement/ListElement.php Returns the title for the 'details' element of a group of schema elements.
ListElement::getTranslationBuild function core/modules/config_translation/src/FormElement/ListElement.php Builds a render array containing the source and translation form elements.
ListElement::setConfig function core/modules/config_translation/src/FormElement/ListElement.php Sets configuration based on a nested form value array.
ListElement::__construct function core/modules/config_translation/src/FormElement/ListElement.php Constructs a ListElement.
ListPlugin::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php Returns a configured subset of the elements supported by this plugin.
MailTest::testRenderedElementsUseAbsolutePaths function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that mails built from render arrays contain absolute paths.
MailToFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Builds a renderable array for a field value.
ManagedFileTest::testManagedFileElement function core/modules/file/tests/src/Kernel/ManagedFileTest.php Tests that managed file elements can be programmatically submitted.
Mapping::getElementDefinition function core/lib/Drupal/Core/Config/Schema/Mapping.php Gets data definition object for contained element.
Markup::elementType function core/modules/views/src/Plugin/views/field/Markup.php Returns an HTML element based upon the field's element type.
Media::getElementsSubset function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php Returns a configured subset of the elements supported by this plugin.
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibraryInceptionWidget::formElement function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php Returns the form for a single field widget.
MediaLibraryTestBase::assertElementExistsAfterWait function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Waits for the specified selector and returns it if not empty.
MediaLibraryTestBase::waitForElementsCount function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Checks for a specified number of specific elements on page after wait.
MediaLibraryTestBase::waitForElementTextContains function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts that text appears in an element after a wait.
MediaLibraryWidget::errorElement function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Assigns a field-level validation error to the right widget sub-element.
MediaLibraryWidget::formElement function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Returns the form for a single field widget.
MediaThumbnailFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Builds a renderable array for a field value.
media_field_widget_single_element_form_alter function core/modules/media/media.module Implements hook_field_widget_single_element_form_alter().
MenuLinkTreeElement class core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Provides a value object to model an element in a menu link tree.
MenuLinkTreeElement.php file core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php
MenuLinkTreeElement::$access property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link is accessible by the current user.
MenuLinkTreeElement::$depth property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php The depth of this link relative to the root of the tree.
MenuLinkTreeElement::$hasChildren property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link has any children at all.
MenuLinkTreeElement::$inActiveTrail property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link is in the active trail.
MenuLinkTreeElement::$link property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php The menu link for this element in a menu link tree.
MenuLinkTreeElement::$options property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Additional options for this link.
MenuLinkTreeElement::$subtree property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php The subtree of this element in the menu link tree (this link's children).
MenuLinkTreeElement::count function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Counts all menu links in the current subtree.
MenuLinkTreeElement::__construct function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Constructs a new \Drupal\Core\Menu\MenuLinkTreeElement.
MenuLinkTreeElementTest class core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests the menu link tree element value object.
MenuLinkTreeElementTest.php file core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php
MenuLinkTreeElementTest::testConstruction function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests construction.
MenuLinkTreeElementTest::testCount function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests count().
MenuParentFormSelector::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets a form element to choose a menu and parent.
MenuParentFormSelectorInterface::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets a form element to choose a menu and parent.
ModerationStateWidget::formElement function core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Returns the form for a single field widget.
ModerationStateWidget::validateElement function core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Form validation handler for widget elements.
NumberWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Assigns a field-level validation error to the right widget sub-element.
NumberWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns the form for a single field widget.
NumericFormatterBase::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php Builds a renderable array for a field value.
NumericUnformattedFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericUnformattedFormatter.php Builds a renderable array for a field value.
OEmbedForm::buildInputElement function core/modules/media_library/src/Form/OEmbedForm.php Builds the element for submitting source field value(s).
OEmbedFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Builds a renderable array for a field value.

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