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
claro_preprocess_form_element__password_confirm function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for form_element__password_confirm.
claro_theme_suggestions_form_element_alter function core/themes/claro/claro.theme Implements hook_theme_suggestions_HOOK_alter() for form_element.
CommentDefaultFormatter::viewElements function core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php Builds a renderable array for a field value.
CommentWidget::formElement function core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php Returns the form for a single field widget.
common-test-render-element.html.twig file core/modules/system/tests/modules/common_test/templates/common-test-render-element.html.twig Default theme implementation for the common test render element.
common_test_preprocess_common_test_render_element function core/modules/system/tests/modules/common_test/common_test.module Implements MODULE_preprocess_HOOK().
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 Test the number of source elements for plural strings in config translation forms.
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.
DateFormat::getTranslationElement function core/modules/config_translation/src/FormElement/DateFormat.php Returns the translation form element for a given configuration definition.
DateRangeCustomFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php Builds a renderable array for a field value.
DateRangeDatelistWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php Returns the form for a single field widget.
DateRangeDefaultWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php Returns the form for a single field widget.
DateRangePlainFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php Builds a renderable array for a field value.
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Returns the form for a single field widget.
DateTimeCustomFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php Builds a renderable array for a field value.
DateTimeDatelistWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns the form for a single field widget.
DateTimeDefaultWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Returns the form for a single field widget.
DatetimeElementFormTest class core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests DatetimeElement functionality.
DatetimeElementFormTest.php file core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::$flag property core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php The variable under test.

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