Search for date

  1. Search 7.x for date
  2. Search 9.5.x for date
  3. Search 8.9.x for date
  4. Search 10.3.x for date
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Date class core/modules/views/src/Plugin/views/sort/Date.php Basic sort handler for dates.
Date class core/modules/views/src/Plugin/views/field/Date.php A handler to provide proper displays for dates.
Date class core/modules/views/src/Plugin/views/filter/Date.php Filter to handle dates stored as a timestamp.
Date class core/modules/views/src/Plugin/views/argument/Date.php Argument handler for dates.
Date class core/modules/datetime/src/Plugin/views/sort/Date.php Basic sort handler for datetime fields.
Date class core/modules/datetime/src/Plugin/views/filter/Date.php Date/time views filter.
Date class core/modules/datetime/src/Plugin/views/argument/Date.php Abstract argument handler for dates.
Date class core/lib/Drupal/Core/Render/Element/Date.php Provides a form element for date or time selection.

All search results

Title Object type File name Summary
DateTimeFieldTest::testDefaultValue function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests default value functionality.
DateTimeFieldTest::testInvalidField function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests that invalid values are caught and marked as invalid.
DateTimeFormatConstraint class core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Validation constraint for DateTime items to ensure the format is correct.
DateTimeFormatConstraint.php file core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php
DateTimeFormatConstraint::$badFormat property core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Message for when the value isn't in the proper format.
DateTimeFormatConstraint::$badType property core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Message for when the value isn't a string.
DateTimeFormatConstraint::$badValue property core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraint.php Message for when the value did not parse properly.
DateTimeFormatConstraintValidator class core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php Constraint validator for DateTime items to ensure the format is correct.
DateTimeFormatConstraintValidator.php file core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormatConstraintValidator::validate function core/modules/datetime/src/Plugin/Validation/Constraint/DateTimeFormatConstraintValidator.php
DateTimeFormatterBase class core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Base class for 'DateTime Field formatter' plugin implementations.
DateTimeFormatterBase.php file core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
DateTimeFormatterBase::$dateFormatStorage property core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php The date format entity storage.
DateTimeFormatterBase::$dateFormatter property core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php The date formatter service.
DateTimeFormatterBase::buildDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Creates a render array from a date object.
DateTimeFormatterBase::buildDateWithIsoAttribute function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Creates a render array from a date object with ISO date attribute.
DateTimeFormatterBase::create function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Creates an instance of the plugin.
DateTimeFormatterBase::defaultSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Defines the default settings for this plugin.
DateTimeFormatterBase::formatDate function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Creates a formatted date value as a string.
DateTimeFormatterBase::getFormatSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Gets a settings array suitable for DrupalDateTime::format().
DateTimeFormatterBase::setTimeZone function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Sets the proper time zone on a DrupalDateTime object for the current user.
DateTimeFormatterBase::settingsForm function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Returns a form to configure settings for the formatter.
DateTimeFormatterBase::settingsSummary function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Returns a short summary for the current formatter settings.
DateTimeFormatterBase::viewElements function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Builds a renderable array for a field value.
DateTimeFormatterBase::__construct function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Constructs a new DateTimeDefaultFormatter.
DateTimeFormInjectionTest class core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Tests serializing a form with an injected datetime instance.
DateTimeFormInjectionTest.php file core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php
DateTimeFormInjectionTest::$logger property core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php A Dblog logger instance.
DateTimeFormInjectionTest::$modules property core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Modules to install.
DateTimeFormInjectionTest::buildForm function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Form constructor.
DateTimeFormInjectionTest::getFormId function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Returns a unique string identifying the form.
DateTimeFormInjectionTest::process function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Process callback.
DateTimeFormInjectionTest::submitForm function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Form submission handler.
DateTimeFormInjectionTest::testDatetimeSerialization function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Tests custom string injection serialization.
DateTimeFormInjectionTest::validateForm function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Form validation handler.
DateTimeHandlerTestBase class core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Base class for testing datetime handlers.
DateTimeHandlerTestBase.php file core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php
DateTimeHandlerTestBase::$fieldName property core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Name of the field.
DateTimeHandlerTestBase::$fieldType property core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Type of the field.
DateTimeHandlerTestBase::$map property core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Column map.
DateTimeHandlerTestBase::$modules property core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Modules to install.
DateTimeHandlerTestBase::$nodes property core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Nodes to test.
DateTimeHandlerTestBase::getRelativeDateValuesFromTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns an array formatted date_only values relative to timestamp.
DateTimeHandlerTestBase::getUTCEquivalentOfUserNowAsTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns UTC timestamp of user's TZ 'now'.
DateTimeHandlerTestBase::setSiteTimezone function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Sets the site timezone to a given timezone.
DateTimeHandlerTestBase::setUp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php
DatetimeHooks class core/modules/datetime/src/Hook/DatetimeHooks.php Hook implementations for datetime.
DatetimeHooks.php file core/modules/datetime/src/Hook/DatetimeHooks.php
DatetimeHooks::help function core/modules/datetime/src/Hook/DatetimeHooks.php Implements hook_help().
DateTimeInterface interface core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Interface for dates, optionally including a time.

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