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 10.3.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
TimestampItemNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php Tests that TimestampItem (de)normalization uses Timestamp (de)normalization.
TimestampItemNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
TimestampItemNormalizerTest::$item property core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php The test TimestampItem.
TimestampItemNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php The time stamp normalizer.
TimestampItemNormalizerTest::createTimestampItemProphecy function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php Creates a TimestampItem prophecy.
TimestampItemNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
TimestampItemNormalizerTest::testDenormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::denormalize[[api-linebreak]]
TimestampItemNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::normalize[[api-linebreak]]
TimestampItemNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::supportsDenormalization[[api-linebreak]]
TimestampItemNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @covers ::supportsNormalization[[api-linebreak]]
TimestampItemTest class core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php Tests the timestamp fields.
TimestampItemTest.php file core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php
TimestampItemTest::$field property core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php The field used in this test class.
TimestampItemTest::$fieldStorage property core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php A field storage to use in this test class.
TimestampItemTest::setUp function core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php Set the default field storage backend for fields created during tests.
TimestampItemTest::testDateTime function core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php Tests using entity fields of the datetime field type.
TimestampNormalizer class core/modules/serialization/src/Normalizer/TimestampNormalizer.php Converts values for the Timestamp data type to and from common formats.
TimestampNormalizer.php file core/modules/serialization/src/Normalizer/TimestampNormalizer.php
TimestampNormalizer::$allowedFormats property core/modules/serialization/src/Normalizer/TimestampNormalizer.php Allowed datetime formats for the denormalizer.
TimestampNormalizer::denormalize function core/modules/serialization/src/Normalizer/TimestampNormalizer.php
TimestampNormalizer::getNormalizationTimezone function core/modules/serialization/src/Normalizer/TimestampNormalizer.php Gets the timezone to be used during normalization.
TimestampNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/TimestampNormalizer.php
TimestampNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Unit test coverage for the "Timestamp" @DataType.
TimestampNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampNormalizerTest::$data property core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php The tested data type.
TimestampNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php The tested data type's normalizer.
TimestampNormalizerTest::jsonSchemaDataProvider function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Data provider for ::testNormalizedValuesAgainstJsonSchema.
TimestampNormalizerTest::providerTestDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Data provider for testDenormalizeValidFormats.
TimestampNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
TimestampNormalizerTest::testDenormalizeException function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with bad data.
TimestampNormalizerTest::testDenormalizeValidFormats function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Tests the denormalize function with good data.
TimestampNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::normalize[[api-linebreak]]
TimestampNormalizerTest::testSupportsDenormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::supportsDenormalization[[api-linebreak]]
TimestampNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @covers ::supportsNormalization[[api-linebreak]]
TimestampNormalizerTestDrupalDateTime class core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Provides a test class for testing DrupalDateTime.
TimestampNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php Sets the timezone.
TimestampSchemaTest class core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Tests timestamp schema.
TimestampSchemaTest.php file core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
TimestampSchemaTest::$modules property core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Modules to install.
TimestampSchemaTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
TimestampSchemaTest::testTimestampSchema function core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php Tests if the timestamp field schema is validated.
TimestampTest class core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Tests the functionality of Timestamp core field UI.
TimestampTest.php file core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
TimestampTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php The theme to install as the default for testing.
TimestampTest::$displayOptions property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php An array of display options.
TimestampTest::$field property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php The field used in this test class.
TimestampTest::$fieldStorage property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php A field storage to use in this test class.
TimestampTest::$modules property core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Modules to install.
TimestampTest::setUp function core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php
TimestampTest::testWidget function core/tests/Drupal/FunctionalTests/Datetime/TimestampTest.php Tests the "datetime_timestamp" widget.

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