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
DrupalDateTimeTest::testTimezoneFormat function core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php Tests the ability to override the time zone in the format method.
EntityChangedInterface::getChangedTime function core/lib/Drupal/Core/Entity/EntityChangedInterface.php Gets the timestamp of the last entity change for the current translation.
EntityChangedInterface::getChangedTimeAcrossTranslations function core/lib/Drupal/Core/Entity/EntityChangedInterface.php Gets the timestamp of the last entity change across all translations.
EntityChangedInterface::setChangedTime function core/lib/Drupal/Core/Entity/EntityChangedInterface.php Sets the timestamp of the last entity change for the current translation.
EntityChangedTrait::getChangedTime function core/lib/Drupal/Core/Entity/EntityChangedTrait.php Gets the timestamp of the last entity change for the current translation.
EntityChangedTrait::getChangedTimeAcrossTranslations function core/lib/Drupal/Core/Entity/EntityChangedTrait.php Returns the timestamp of the last entity change across all translations.
EntityChangedTrait::setChangedTime function core/lib/Drupal/Core/Entity/EntityChangedTrait.php Sets the timestamp of the last entity change for the current translation.
EntityModerationForm::$time property core/modules/content_moderation/src/Form/EntityModerationForm.php The time service.
EntityResource::$time property core/modules/jsonapi/src/Controller/EntityResource.php The time service.
EntityTestDatetimeTest class core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Tests the datetime field constraint with 'datetime' items.
EntityTestDatetimeTest.php file core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php
EntityTestDatetimeTest::$dateString property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php The ISO date string to use throughout the test.
EntityTestDatetimeTest::$defaultTheme property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php The theme to install as the default for testing.
EntityTestDatetimeTest::$fieldName property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Datetime test field name.
EntityTestDatetimeTest::$modules property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Modules to install.
EntityTestDatetimeTest::assertNormalizationEdgeCases function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Asserts normalization-specific edge cases.
EntityTestDatetimeTest::createEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Creates the entity to be tested.
EntityTestDatetimeTest::getExpectedNormalizedEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Returns the expected normalization of the entity.
EntityTestDatetimeTest::getNormalizedPostEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Returns the normalized POST entity.
EntityTestDatetimeTest::setUp function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php
Environment::setTimeLimit function core/lib/Drupal/Component/Utility/Environment.php Attempts to set the PHP maximum execution time.
FakeViewModeContext::getRuntimeContexts function core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php Gets runtime context values for the given context IDs.
field--field-cooking-time.html.twig file core/profiles/demo_umami/themes/umami/templates/components/field/field--field-cooking-time.html.twig Theme override for a field.
field--field-preparation-time.html.twig file core/profiles/demo_umami/themes/umami/templates/components/field/field--field-preparation-time.html.twig Theme override for a field.
field--node--field-cooking-time--recipe--full.html.twig file core/profiles/demo_umami/themes/umami/templates/components/field/field--node--field-cooking-time--recipe--full.html.twig Theme override for a field.
field--node--field-preparation-time--recipe--full.html.twig file core/profiles/demo_umami/themes/umami/templates/components/field/field--node--field-preparation-time--recipe--full.html.twig Theme override for a field.
field.field.entity_test.entity_test.timestamp.yml file core/modules/field/tests/modules/field_timestamp_test/config/install/field.field.entity_test.entity_test.timestamp.yml core/modules/field/tests/modules/field_timestamp_test/config/install/field.field.entity_test.entity_test.timestamp.yml
field.field.node.recipe.field_cooking_time.yml file core/profiles/demo_umami/config/install/field.field.node.recipe.field_cooking_time.yml core/profiles/demo_umami/config/install/field.field.node.recipe.field_cooking_time.yml
field.field.node.recipe.field_preparation_time.yml file core/profiles/demo_umami/config/install/field.field.node.recipe.field_preparation_time.yml core/profiles/demo_umami/config/install/field.field.node.recipe.field_preparation_time.yml
field.storage.entity_test.timestamp.yml file core/modules/field/tests/modules/field_timestamp_test/config/install/field.storage.entity_test.timestamp.yml core/modules/field/tests/modules/field_timestamp_test/config/install/field.storage.entity_test.timestamp.yml
field.storage.node.field_cooking_time.yml file core/profiles/demo_umami/config/install/field.storage.node.field_cooking_time.yml core/profiles/demo_umami/config/install/field.storage.node.field_cooking_time.yml
field.storage.node.field_preparation_time.yml file core/profiles/demo_umami/config/install/field.storage.node.field_preparation_time.yml core/profiles/demo_umami/config/install/field.storage.node.field_preparation_time.yml
FieldTimeIntervalTest class core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Tests the time interval handler.
FieldTimeIntervalTest.php file core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php
FieldTimeIntervalTest::$ages property core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Ages dataset.
FieldTimeIntervalTest::$modules property core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Modules to install.
FieldTimeIntervalTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Views used by this test.
FieldTimeIntervalTest::dataSet function core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Returns a very simple test dataset.
FieldTimeIntervalTest::schemaDefinition function core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Returns the schema definition.
FieldTimeIntervalTest::testFieldTimeInterval function core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Tests the TimeInterval handler.
FieldTimeIntervalTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php Returns the views data definition.
field_timestamp_test.info.yml file core/modules/field/tests/modules/field_timestamp_test/field_timestamp_test.info.yml core/modules/field/tests/modules/field_timestamp_test/field_timestamp_test.info.yml
File::getCreatedTime function core/modules/file/src/Entity/File.php Returns the file entity creation timestamp.
FileInterface::getCreatedTime function core/modules/file/src/FileInterface.php Returns the file entity creation timestamp.
FilterDateTest::$timezones property core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php An array of timezone extremes to test.
FilterDateTest::_testFilterDatetimeUI function core/modules/views/tests/src/Functional/Handler/FilterDateTest.php Tests datetime grouped filter UI.
FilterDateTimeTest class core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Tests the Drupal\datetime\Plugin\views\filter\Date handler.
FilterDateTimeTest.php file core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
FilterDateTimeTest::$date property core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php For offset tests, set a date 1 day in the future.
FilterDateTimeTest::$testViews property core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Views to be enabled.

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