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
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 install.
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.
LanguageHooks::elementInfoAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_element_info_alter().
LanguageSelectElementTest class core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests the language selection form element.
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 install.
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
LayoutBuilderDisableInteractionsTest::assertElementNotClickable function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Checks if element is not clickable.
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.
layout_builder.element.prepare_layout service core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\EventSubscriber\PrepareLayout
layout_builder_element_test.info.yml file core/modules/layout_builder/tests/modules/layout_builder_element_test/layout_builder_element_test.info.yml core/modules/layout_builder/tests/modules/layout_builder_element_test/layout_builder_element_test.info.yml
layout_builder_element_test.prepare_layout service core/modules/layout_builder/tests/modules/layout_builder_element_test/layout_builder_element_test.services.yml Drupal\layout_builder_element_test\EventSubscriber\TestPrepareLayout
layout_builder_element_test.services.yml file core/modules/layout_builder/tests/modules/layout_builder_element_test/layout_builder_element_test.services.yml core/modules/layout_builder/tests/modules/layout_builder_element_test/layout_builder_element_test.services.yml
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.
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.

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