Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 8.9.x for time
  4. Search 11.x for time
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Time class core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
time function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call.
Time class core/lib/Drupal/Component/Datetime/Time.php Provides a class for obtaining system time.

All search results

Title Object type File name Summary
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.
DateTimeFieldItemList class core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Represents a configurable entity datetime field.
DateTimeFieldItemList.php file core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
DateTimeFieldItemList::defaultValuesForm function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Returns a form for the default value input.
DateTimeFieldItemList::defaultValuesFormSubmit function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Processes the submitted default value.
DateTimeFieldItemList::defaultValuesFormValidate function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Validates the submitted default value.
DateTimeFieldItemList::DEFAULT_VALUE_CUSTOM constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Defines the default value as relative.
DateTimeFieldItemList::DEFAULT_VALUE_NOW constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Defines the default value as now.
DateTimeFieldItemList::processDefaultValue function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php Processes the default value before being applied.
DateTimeFieldTest class core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests Datetime field functionality.
DateTimeFieldTest.php file core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
DateTimeFieldTest::$defaultSettings property core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php The default display settings to use for the formatters.
DateTimeFieldTest::$defaultTheme property core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php The theme to install as the default for testing.
DateTimeFieldTest::datelistDataProvider function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php The data provider for testing the validation of the datelist widget.
DateTimeFieldTest::getTestFieldType function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Returns the type of field to be tested.
DateTimeFieldTest::testDateField function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests date field functionality.
DateTimeFieldTest::testDatelistWidget function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests Date List Widget functionality.
DateTimeFieldTest::testDateStorageSettings function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests that 'Date' field storage setting form is disabled if field has data.
DateTimeFieldTest::testDatetimeField function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests date and time field.
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.

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