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::$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
DatelistElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Returns a unique string identifying the form.
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::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::testDatetimeElementRequiredError function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests the custom required error message for datetime elements.
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.
DatetimeFormElementTest class core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Tests static callbacks returns and form submission with datetime elements.
DatetimeFormElementTest.php file core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::$formBuilder property core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form builder service.
DatetimeFormElementTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Modules to install.
DatetimeFormElementTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form constructor.
DatetimeFormElementTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Returns a unique string identifying the form.
DatetimeFormElementTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form submission handler.
DatetimeFormElementTest::testDatetimeLocalProcessDatetime function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks expected values are returned by ::processDatetime().
DatetimeFormElementTest::testDatetimeLocalValueCallback function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks expected values are returned by ::valueCallback().
DatetimeFormElementTest::testNoErrorMetOnFormSubmit function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks we have no errors on form submit.
DatetimeFormElementTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form validation handler.
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

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