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
ComponentElement::generateComponentTemplate function core/modules/sdc/src/Element/ComponentElement.php Generates the template to render the component.
ComponentElement::generateComponentTemplate function core/lib/Drupal/Core/Render/Element/ComponentElement.php Generates the template to render the component.
ComponentElement::getInfo function core/lib/Drupal/Core/Render/Element/ComponentElement.php Returns the element properties for this element.
ComponentElement::getInfo function core/modules/sdc/src/Element/ComponentElement.php Returns the element properties for this element.
ComponentElement::preRenderComponent function core/modules/sdc/src/Element/ComponentElement.php Expands a sdc into an inline template with an attachment.
ComponentElement::preRenderComponent function core/lib/Drupal/Core/Render/Element/ComponentElement.php Expands a component into an inline template with an attachment.
ComponentRenderTest::checkRenderElementAlters function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the alter callbacks work properly.
ComponentRenderTest::checkRenderElementAlters function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures the alter callbacks work properly.
CompositeFormElementTrait trait core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php Provides a trait for radios, checkboxes, and similar composite form elements.
CompositeFormElementTrait.php file core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php
CompositeFormElementTrait::preRenderCompositeFormElement function core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php Adds form element theming to an element if its title or description is set.
ConfigFormBase::CONFIG_KEY_TO_FORM_ELEMENT_MAP constant core/lib/Drupal/Core/Form/ConfigFormBase.php The $form_state key which stores a map of config keys to form elements.
ConfigFormBase::storeConfigKeyToFormElementMap function core/lib/Drupal/Core/Form/ConfigFormBase.php #after_build callback which stores a map of element names to config keys.
ConfigMapperManagerTest::getElement function core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php Returns a mocked schema element.
ConfigMapperManagerTest::getNestedElement function core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php Returns a mocked nested schema element.
ConfigTarget::$elementParents property core/lib/Drupal/Core/Form/ConfigTarget.php The parents of the form element which maps to this config property.
ConfigTranslationFormBase::createFormElement function core/modules/config_translation/src/Form/ConfigTranslationFormBase.php Creates a form element builder.
ConfigTranslationUiTest::testPluralConfigStringsSourceElements function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests plural source elements in configuration translation forms.
config_translation_manage_form_element.html.twig file core/themes/stable9/templates/admin/config_translation_manage_form_element.html.twig Theme override for a form element in config_translation.
config_translation_manage_form_element.html.twig file core/themes/claro/templates/admin/config_translation_manage_form_element.html.twig Theme override for a form element in config_translation.
config_translation_manage_form_element.html.twig file core/modules/config_translation/templates/config_translation_manage_form_element.html.twig Default theme implementation for a form element in config_translation.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest class core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php Tests the correct mapping of user input on the correct field delta elements.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php file core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The theme to install as the default for testing.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$entityTypeId property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The ID of the type of the entity under test.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$fieldName property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The field name with multiple properties being test with the entity type.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$modules property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php Modules to install.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::setUp function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::testCorrectUserInputMappingOnComplexFields function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php Tests the correct user input mapping on complex fields.
ContentModerationStateFormatter::viewElements function core/modules/content_moderation/src/Plugin/Field/FieldFormatter/ContentModerationStateFormatter.php Builds a renderable array for a field value.
ContentTranslationHandler::entityFormSharedElements function core/modules/content_translation/src/ContentTranslationHandler.php Process callback: determines which elements get clue in the form.
ContentTranslationHandlerTest::providerTestEntityFormSharedElements function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Returns test cases for ::testEntityFormSharedElements().
ContentTranslationHandlerTest::testEntityFormSharedElements function core/modules/content_translation/tests/src/Kernel/ContentTranslationHandlerTest.php Tests ContentTranslationHandler::entityFormSharedElements()
ContentTranslationHooks::elementInfoAlter function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_element_info_alter().
ContentTranslationWorkflowsTest::assertNoSharedElements function core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php Assert that the current page does not contain shared form elements.
content_translation_language_configuration_element_process function core/modules/content_translation/content_translation.module Process callback: Expands the language_configuration form element.
content_translation_language_configuration_element_submit function core/modules/content_translation/content_translation.module Form submission handler for element added with content_translation_language_configuration_element_process().
content_translation_language_configuration_element_validate function core/modules/content_translation/content_translation.module Form validation handler for element added with content_translation_language_configuration_element_process().
ContextAwarePluginAssignmentTrait::addContextAssignmentElement function core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php Builds a form element for assigning a context to a given slot.
DateElementBase class core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Provides a base class for date elements.
DateElementBase.php file core/lib/Drupal/Core/Datetime/Element/DateElementBase.php
DateElementBase::datetimeRangeYears function core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Specifies the start and end year to use as a date range.
DateElementBase::getElementTitle function core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Returns the most relevant title of a datetime element.
DateFormat::getTranslationElement function core/modules/config_translation/src/FormElement/DateFormat.php Returns the translation form element for a given configuration definition.
DatelistElementFormTest class core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests Datelist functionality.
DatelistElementFormTest.php file core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Modules to install.
DatelistElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form constructor.
DatelistElementFormTest::datelistDateCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::datelistDateCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php

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