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. Search 11.x for time
  6. 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
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.
FileRequirements::runtime function core/modules/file/src/Hook/FileRequirements.php Implements hook_runtime_requirements().
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.
FilterDateTimeTest::$timezone property core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Use a non-UTC timezone.
FilterDateTimeTest::setUp function core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
FilterDateTimeTest::testDatetimeFilter function core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Tests filter operations.
FilterDateTimeTest::_testBetween function core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Tests between operations.
FilterDateTimeTest::_testExact function core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Tests exact date matching.
FilterDateTimeTest::_testOffset function core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php Tests offset operations.
FinishResponseSubscriberTest::$time property core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php The mock time service.
FrontPageTest::testCacheTagsWithCachePluginTime function core/modules/node/tests/src/Functional/Views/FrontPageTest.php Tests the cache tags when using the "time" cache plugin.
hook_runtime_requirements function core/lib/Drupal/Core/Extension/module.api.php Check runtime requirements and do status reporting.
hook_runtime_requirements_alter function core/lib/Drupal/Core/Extension/module.api.php Alters runtime requirements data.
IHaveRuntimeContexts class core/modules/layout_builder/tests/modules/layout_builder_test/src/ContextProvider/IHaveRuntimeContexts.php Defines a class for a fake context provider.
IHaveRuntimeContexts class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/IHaveRuntimeContexts.php Defines a class for a context-aware block.
IHaveRuntimeContexts.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/ContextProvider/IHaveRuntimeContexts.php
IHaveRuntimeContexts.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/IHaveRuntimeContexts.php
IHaveRuntimeContexts::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/IHaveRuntimeContexts.php Builds and returns the renderable array for this block plugin.
IHaveRuntimeContexts::getAvailableContexts function core/modules/layout_builder/tests/modules/layout_builder_test/src/ContextProvider/IHaveRuntimeContexts.php Gets all available contexts for the purposes of configuration.
IHaveRuntimeContexts::getRuntimeContexts function core/modules/layout_builder/tests/modules/layout_builder_test/src/ContextProvider/IHaveRuntimeContexts.php Gets runtime context values for the given context IDs.
ImageRequirements::runtime function core/modules/image/src/Hook/ImageRequirements.php Implements hook_runtime_requirements().
InlineFormErrorsThemeHooks::preprocessDatetimeWrapper function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for datetime form wrapper templates.
InstallerSiteConfigProfileTest::EXPECTED_TIMEZONE constant core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php The timezone we expect to be set from the install profile.
InstallTest::testGetSchemaAtInstallTime function core/modules/system/tests/src/Kernel/Module/InstallTest.php Verify that drupal_get_schema() can be used during module installation.
JsonApiPatchRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures datetime fields are normalized using the correct timezone.
JsonapiRequirements::runtime function core/modules/jsonapi/src/Hook/JsonapiRequirements.php Implements hook_runtime_requirements().
KernelTestBaseTest::testLocalTimeZone function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the assumption that local time is in 'Australia/Sydney'.
LastTimestamp class core/modules/comment/src/Plugin/views/field/LastTimestamp.php Displays the timestamp of a comment with the count of comments.
LastTimestamp.php file core/modules/comment/src/Plugin/views/field/LastTimestamp.php
LastTimestamp::init function core/modules/comment/src/Plugin/views/field/LastTimestamp.php Initialize the plugin.
LastTimestamp::render function core/modules/comment/src/Plugin/views/field/LastTimestamp.php Renders the field.
layout_builder_test.i_have_runtime_contexts service core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.services.yml Drupal\layout_builder_test\ContextProvider\IHaveRuntimeContexts
LazyContextRepository::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Gets runtime context values for the given context IDs.
LazyContextRepositoryTest::testGetRuntimeContextsSingle function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests get runtime contexts single.

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