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
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 exceptions 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.
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::$modules property core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Modules to install.
DatetimeElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Form constructor.
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 Returns a unique string identifying the form.
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 Form submission handler.
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 Lists the trusted callbacks provided by the implementing class.
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 Builds a renderable array for a field value.
DateTimePlainFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimePlainFormatter.php Builds a renderable array for a field value.
DateTimeRangeTrait::viewElements function core/modules/datetime_range/src/DateTimeRangeTrait.php
DateTimeTimeAgoFormatter::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeTimeAgoFormatter.php Builds a renderable array for a field value.
DateTimeWidgetBase::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Returns the form for a single field widget.
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 Modules to install.
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 Returns the element properties for this element.
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 Returns the element properties for this element.

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