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
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.
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.
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/themes/stable/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 enable.
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()
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_element_info_alter function core/modules/content_translation/content_translation.module Implements hook_element_info_alter().
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.
DateElementTest class core/tests/Drupal/Tests/Core/Render/Element/DateElementTest.php @coversDefaultClass \Drupal\Core\Render\Element\Date
@group Render
DateElementTest.php file core/tests/Drupal/Tests/Core/Render/Element/DateElementTest.php
DateElementTest::testProcessDate function core/tests/Drupal/Tests/Core/Render/Element/DateElementTest.php @covers ::processDate
@group legacy
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 enable.
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
DatelistElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Returns a unique string identifying the form.
DatelistElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Sets up the test.
DatelistElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form submission handler.
DatelistElementFormTest::testDatelistElement function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests that trusted callbacks are executed.
DatelistElementFormTest::testDatelistElementUntrustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests that deprecations are raised if untrusted callbacks are used.
DatelistElementFormTest::trustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Lists the trusted callbacks provided by the implementing class.
DatelistElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form validation handler.

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