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. Search 11.x for element
  6. 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
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.
DateElementBaseTest class core/tests/Drupal/Tests/Core/Datetime/Element/DateElementBaseTest.php Tests the DateElementBase class.
DateElementBaseTest.php file core/tests/Drupal/Tests/Core/Datetime/Element/DateElementBaseTest.php
DateElementBaseTest::providerTestDatetimeRangeYears function core/tests/Drupal/Tests/Core/Datetime/Element/DateElementBaseTest.php Data provider for testDatetimeRangeYears().
DateElementBaseTest::setUp function core/tests/Drupal/Tests/Core/Datetime/Element/DateElementBaseTest.php
DateElementBaseTest::testDatetimeRangeYears function core/tests/Drupal/Tests/Core/Datetime/Element/DateElementBaseTest.php Tests datetimeRangeYears() with various year range strings.
DateFormat::getTranslationElement function core/modules/config_translation/src/FormElement/DateFormat.php
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
DatelistElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
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
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::testTimezoneHandling function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests proper timezone handling of the Datelist element.
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
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::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::testRangeValidate function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests that year range is validated.
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

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