Search for element

  1. Search 7.x for element
  2. Search 9.5.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
LanguageConfigurationElementTest class core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests the features of the language configuration element field.
LanguageConfigurationElementTest class core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php A form containing a language select element.
LanguageConfigurationElementTest.php file core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
LanguageConfigurationElementTest.php file core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php
LanguageConfigurationElementTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php The theme to install as the default for testing.
LanguageConfigurationElementTest::$modules property core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Modules to enable.
LanguageConfigurationElementTest::buildForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Form constructor.
LanguageConfigurationElementTest::getFormId function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Returns a unique string identifying the form.
LanguageConfigurationElementTest::setUp function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
LanguageConfigurationElementTest::submitForm function core/modules/language/tests/language_elements_test/src/Form/LanguageConfigurationElementTest.php Form submission handler.
LanguageConfigurationElementTest::testDefaultLangcode function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that the language_get_default_langcode() returns the correct values.
LanguageConfigurationElementTest::testLanguageConfigurationElement function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests the language settings have been saved.
LanguageConfigurationElementTest::testNodeTypeDelete function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests the language settings are deleted on bundle delete.
LanguageConfigurationElementTest::testNodeTypeUpdate function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that the configuration is retained when the node type is updated.
LanguageConfigurationElementTest::testTaxonomyVocabularyUpdate function core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php Tests that the configuration is retained when a vocabulary is updated.
LanguageSelectElementTest class core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests that the language select form element prints and submits the right
options.
LanguageSelectElementTest.php file core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php
LanguageSelectElementTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php The theme to install as the default for testing.
LanguageSelectElementTest::$modules property core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Modules to enable.
LanguageSelectElementTest::testHiddenLanguageSelectElement function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests the case when the language select elements should not be printed.
LanguageSelectElementTest::testLanguageSelectElementOptions function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests that the options printed by the language select element are correct.
LanguageSelectElementTest::_testLanguageSelectElementOptions function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Helper function to check the options of a language select form element.
LanguageSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Returns the form for a single field widget.
language_configuration_element_submit function core/modules/language/language.module Submit handler for the forms that have a language_configuration element.
language_elements_test.info.yml file core/modules/language/tests/language_elements_test/language_elements_test.info.yml core/modules/language/tests/language_elements_test/language_elements_test.info.yml
language_elements_test.routing.yml file core/modules/language/tests/language_elements_test/language_elements_test.routing.yml core/modules/language/tests/language_elements_test/language_elements_test.routing.yml
language_element_info_alter function core/modules/language/language.module Implements hook_element_info_alter().
LayoutBuilderDisableInteractionsTest::assertElementUnclickable function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Checks if element is unclickable.
LayoutBuilderDisableInteractionsTest::getElementVerticalPosition function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Gets the element position.
LayoutBuilderUiTest::assertHighlightedElement function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php Confirms the presence of the 'is-layout-builder-highlighted' class.
LayoutBuilderWidget::formElement function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Returns the form for a single field widget.
LayoutBuilderWidget::layoutBuilderElementGetKeys function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Form element #process callback.
LinkFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Builds a renderable array for a field value.
LinkSeparateFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php Builds a renderable array for a field value.
LinkWidget::formElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Returns the form for a single field widget.
LinkWidget::validateTitleElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
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.
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.
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.
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php

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