Search for time

  1. Search 7.x for time
  2. Search 9.5.x for time
  3. Search 10.3.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
NodeFormSaveChangedTimeTest.php file core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::$authorUser property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php An user with permissions to create and edit articles.
NodeFormSaveChangedTimeTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php The theme to install as the default for testing.
NodeFormSaveChangedTimeTest::$modules property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Modules to enable.
NodeFormSaveChangedTimeTest::setUp function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::testChangedTimeAfterSaveWithoutChanges function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Test the changed time after API and FORM save without changes.
NodeInterface::getCreatedTime function core/modules/node/src/NodeInterface.php Gets the node creation timestamp.
NodeInterface::getRevisionCreationTime function core/modules/node/src/NodeInterface.php Gets the node revision creation timestamp.
NodeInterface::setCreatedTime function core/modules/node/src/NodeInterface.php Sets the node creation timestamp.
NodeInterface::setRevisionCreationTime function core/modules/node/src/NodeInterface.php Sets the node revision creation timestamp.
NodeRevisionRevertForm::$time property core/modules/node/src/Form/NodeRevisionRevertForm.php The time service.
NodeRouteContext::getRuntimeContexts function core/modules/node/src/ContextProvider/NodeRouteContext.php Gets runtime context values for the given context IDs.
NodeSaveTest::testTimestamps function core/modules/node/tests/src/Functional/NodeSaveTest.php Verifies accuracy of the "created" and "changed" timestamp functionality.
NodeStatisticsDatabaseStorage::getRequestTime function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Get current request time.
PHP Runtime Assert Statements group core/core.api.php Use of the assert() statement in Drupal.
PostgresqlDateSql::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php Applies the given offset to the given field.
PostgresqlDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php Set the database to the given timezone.
PostgresqlDateSqlTest::testSetFieldTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php Tests timezone offset formatting.
PostgresqlDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php Tests setting the database offset.
ProfileTranslationHandler::hasCreatedTime function core/modules/user/src/ProfileTranslationHandler.php Checks whether the entity type supports creation time natively.
ProviderRepository::$time property core/modules/media/src/OEmbed/ProviderRepository.php The time service.
QueryPluginBase::getTimezoneOffset function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Get the timezone offset in seconds.
QueryPluginBase::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Applies a timezone offset to the given field.
QueryPluginBase::setupTimezone function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Set the database to the current user timezone.
QueryTest::setFieldTimezoneOffset function core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php Applies a timezone offset to the given field.
Registry::$runtimeCache property core/lib/Drupal/Core/Theme/Registry.php The runtime cache.
Registry::$runtimeRegistry property core/lib/Drupal/Core/Theme/Registry.php An array of incomplete, runtime theme registries, keyed by theme name.
Registry::getRuntime function core/lib/Drupal/Core/Theme/Registry.php Returns the incomplete, runtime theme registry.
RenderCacheIntegrationTest::testEntityBasedViewCacheTagsWithCachePluginTime function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests a entity-based view's cache tags when using the "time" cache plugin.
RenderCacheIntegrationTest::testFieldBasedViewCacheTagsWithCachePluginTime function core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php Tests a field-based view's cache tags when using the "time" cache plugin.
ReplicaKillSwitch::$time property core/lib/Drupal/Core/Database/ReplicaKillSwitch.php The time service.
REQUEST_TIME constant core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch.
RevisionCreateTimestampTest class core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Ensures that the revision create time can be accessed in views.
RevisionCreateTimestampTest.php file core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionCreateTimestampTest::$modules property core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Modules to enable.
RevisionCreateTimestampTest::$testViews property core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php Views to be enabled.
RevisionCreateTimestampTest::setUp function core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionCreateTimestampTest::testRevisionCreateTimestampView function core/modules/node/tests/src/Kernel/Views/RevisionCreateTimestampTest.php
RevisionLogEntityTrait::getRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
RevisionLogEntityTrait::setRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
RevisionLogInterface::getRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Gets the entity revision creation timestamp.
RevisionLogInterface::setRevisionCreationTime function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Sets the entity revision creation timestamp.
SaveAction::$time property core/lib/Drupal/Core/Action/Plugin/Action/SaveAction.php The time service.
serializer.normalizer.datetimeiso8601 service core/modules/serialization/serialization.services.yml \Drupal\serialization\Normalizer\DateTimeIso8601Normalizer
serializer.normalizer.timestamp service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\TimestampNormalizer
serializer.normalizer.timestamp_item service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\TimestampItemNormalizer
serializer.normalizer.timestamp_item.hal service core/modules/hal/hal.services.yml Drupal\hal\Normalizer\TimestampItemNormalizer
ServerCommand::getOneTimeLoginUrl function core/lib/Drupal/Core/Command/ServerCommand.php Gets a one time login URL for user 1.
SortDateTimeTest class core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php Tests for core Drupal\datetime\Plugin\views\sort\Date handler.
SortDateTimeTest.php file core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php

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