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 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
DatelistElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
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
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 exceptions are raised if untrusted callbacks are used.
DatelistElementFormTest::trustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Form validation handler.
DateRangeCustomFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangeCustomFormatter.php
DateRangeDatelistWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php
DateRangeDefaultWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php
DateRangePlainFormatter::viewElements function core/modules/datetime_range/src/Plugin/Field/FieldFormatter/DateRangePlainFormatter.php
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php
DateTimeCustomFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
DateTimeDatelistWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php
DateTimeDefaultWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php
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::$modules property core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeDateCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeDateCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeTimeCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeTimeCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::providerUntrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Data provider for ::testDatetimeElementUntrustedCallbacks().
DatetimeElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Sets up the test.
DatetimeElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::testDatetimeElement function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests that default handlers are added even if custom are specified.
DatetimeElementFormTest::testDatetimeElementUntrustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests that deprecations are raised if untrusted callbacks are used.
DatetimeElementFormTest::testTimezoneHandling function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests proper timezone handling of the Datetime element.
DatetimeElementFormTest::trustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Form validation handler.
DateTimeFormatterBase::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
DateTimePlainFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php
DateTimeRangeTrait::viewElements function core/modules/datetime_range/src/DateTimeRangeTrait.php
DateTimeTimeAgoFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php
DateTimeWidgetBase::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php
DefaultSelection::elementValidateFilter function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Form element validation handler; Filters the #value property of an element.
DefaultsEntityForm::layoutBuilderElementGetKeys function core/modules/layout_builder/src/Form/DefaultsEntityForm.php Form element #process callback.
DeprecatedElementTest class core/tests/Drupal/KernelTests/Core/Render/Element/DeprecatedElementTest.php @group Render
DeprecatedElementTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/DeprecatedElementTest.php
DeprecatedElementTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/DeprecatedElementTest.php
DeprecatedElementTest::testBuildInfo function core/tests/Drupal/KernelTests/Core/Render/Element/DeprecatedElementTest.php Tests that render elements can trigger deprecations in their constructor.
DeprecatedElementTest::testDeprecatedStaticMethods function core/tests/Drupal/KernelTests/Core/Render/Element/DeprecatedElementTest.php Test use of static methods trigger deprecations.
DeprecatedExtendsFormElement class core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php Provides render element that extends deprecated FormElement for testing.
DeprecatedExtendsFormElement.php file core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php
DeprecatedExtendsFormElement::getInfo function core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php
DeprecatedExtendsRenderElement class core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php Provides render element that extends deprecated RenderElement for testing.
DeprecatedExtendsRenderElement.php file core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php
DeprecatedExtendsRenderElement::getInfo function core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsRenderElement.php

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