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
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
DateTimeInterface interface core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Interface for dates, optionally including a time.
DateTimeInterface.php file core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php
DateTimeInterface::getDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Returns the date time object.
DateTimeInterface::setDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Sets the date time object.
DateTimeIso8601 class core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php A data type for ISO 8601 date strings.
DateTimeIso8601.php file core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php
DateTimeIso8601::getDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php Returns the date time object.
DateTimeIso8601::setDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php Sets the date time object.
DateTimeIso8601Normalizer class core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php Converts values for the DateTimeIso8601 data type to RFC3339.
DateTimeIso8601Normalizer.php file core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::$allowedFormats property core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php Allowed datetime formats for the denormalizer.
DateTimeIso8601Normalizer::denormalize function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601Normalizer::normalize function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601NormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Unit test coverage for the "datetime_iso8601" @DataType.
DateTimeIso8601NormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeIso8601NormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php The tested data type.
DateTimeIso8601NormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php The tested data type's normalizer.
DateTimeIso8601NormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testDenormalizeValidFormats.
DateTimeIso8601NormalizerTest::providerTestNormalize function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Data provider for testNormalize.
DateTimeIso8601NormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeIso8601NormalizerTest::testDenormalizeDateAndTimeException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with bad data for the date+time case.

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