You are here

55 calls to Drupal::time() in Drupal 10

CommentPreviewTest::testCommentEditPreviewSave in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
Tests comment edit, preview, and save.
ConfigTranslationViewListUiTest::testTimestampFormatterTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php
Test to ensure that TimestampFormatter translation works.
CronQueueTest::setUp in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
CronQueueTest::testExceptions in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
Tests that exceptions thrown by workers are handled properly.
DatabaseQueue::claimItem in core/lib/Drupal/Core/Queue/DatabaseQueue.php
DatabaseQueue::delayItem in core/lib/Drupal/Core/Queue/DatabaseQueue.php
DatabaseQueue::doCreateItem in core/lib/Drupal/Core/Queue/DatabaseQueue.php
Adds a queue item and store it directly to the queue.
DatabaseQueue::garbageCollection in core/lib/Drupal/Core/Queue/DatabaseQueue.php
file_cron in core/modules/file/file.module
Implements hook_cron().
FilterDateTest::setUp in core/modules/datetime/tests/src/Functional/Views/FilterDateTest.php
Create nodes with relative dates of yesterday, today, and tomorrow.
history_write in core/modules/history/history.module
Updates 'last viewed' timestamp of the specified entity for the current user.
hook_cron in core/core.api.php
Perform periodic actions.
hook_views_query_substitutions in core/modules/views/views.api.php
Replace special strings in the query before it is executed.
install_display_output in core/includes/install.core.inc
Displays themed installer output and ends the page request.
install_finished in core/includes/install.core.inc
Performs final installation steps and displays a 'finished' page.
locale_cron_fill_queue in core/modules/locale/locale.translation.inc
Populate a queue with project to check for translation updates.
locale_translate_batch_import_save in core/modules/locale/locale.bulk.inc
Implements callback_batch_operation().
locale_translation_batch_fetch_finished in core/modules/locale/locale.batch.inc
Implements callback_batch_finished().
locale_translation_batch_status_finished in core/modules/locale/locale.batch.inc
Implements callback_batch_finished().
locale_translation_check_projects in core/modules/locale/locale.compare.inc
Check for the latest release of project translations.
locale_translation_status_save in core/modules/locale/locale.module
Saves the status of translation sources in static cache.
Media::getRequestTime in core/modules/media/src/Entity/Media.php
Memory::claimItem in core/lib/Drupal/Core/Queue/Memory.php
Memory::createItem in core/lib/Drupal/Core/Queue/Memory.php
MigrateCustomBlockContentTranslationTest::testCustomBlockContentTranslation in core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php
Tests the Drupal 7 i18n custom block strings to Drupal 8 migration.
ModeratedContentViewTest::testModeratedContentPage in core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
Tests the moderated content page.
NodeCreationTest::testAuthoredDate in core/modules/node/tests/src/Functional/NodeCreationTest.php
Creates nodes with different authored dates.
olivero_preprocess_comment in core/themes/olivero/olivero.theme
Implements hook_preprocess_HOOK() for comment.html.twig.
ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/tests/Drupal/KernelTests/Core/Database/ReplicaKillSwitchTest.php
Tests database.replica_kill_switch service.
SqlContentEntityStorageSchema::getTemporaryTableMappingPrefix in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Gets a string to be used as a prefix for a temporary table mapping object.
SqlContentEntityStorageSchema::preUpdateEntityTypeSchema in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Allows subscribers to prepare their schema before data copying.
StatisticsTokenReplaceTest::testStatisticsTokenReplacement in core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
Creates a node, then tests the statistics tokens generated from it.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
system_tokens in core/modules/system/system.tokens.inc
Implements hook_tokens().
system_token_info in core/modules/system/system.tokens.inc
Implements hook_token_info().
TaxonomyTermArgumentDepthTest::setUp in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTermArgumentDepthTest.php
TaxonomyTermFilterDepthTest::setUp in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermFilterDepthTest.php
TaxonomyTermFilterDepthTest::setUp in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTermFilterDepthTest.php
template_preprocess_image_style_preview in core/modules/image/image.admin.inc
Prepares variables for image style preview templates.
template_preprocess_views_view_opml in core/modules/views/views.theme.inc
Prepares variables for OPML feed templates.
TimestampItem::generateSampleValue in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php
Generates placeholder field values.
update_cron in core/modules/update/update.module
Implements hook_cron().
update_delete_file_if_stale in core/modules/update/update.module
Deletes stale files and directories from the update manager disk cache.
user_cancel_url in core/modules/user/user.module
Generates a URL to confirm an account cancellation request.
user_cookie_delete in core/modules/user/user.module
Delete a visitor information cookie.
user_cookie_save in core/modules/user/user.module
Saves visitor information as a cookie so it can be reused.
user_login_finalize in core/modules/user/user.module
Finalizes the login process and logs in a user.
user_pass_reset_url in core/modules/user/user.module
Generates a unique URL for a user to log in and reset their password.
ViewsBulkTest::testBulkSelection in core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php
Tests bulk selection.
views_views_query_substitutions in core/modules/views/views.views_execution.inc
Implements hook_views_query_substitutions().
WhosOnlineBlockTest::testWhosOnlineBlock in core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php
Tests the Who's Online block.
WorkspaceAccessTest::testWorkspaceSelection in core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
@coversDefaultClass \Drupal\workspaces\Plugin\EntityReferenceSelection\WorkspaceSelection
WorkspaceIntegrationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
_drupal_flush_css_js in core/includes/common.inc
Changes the dummy query string added to all CSS and JavaScript files.
_update_cron_notify in core/modules/update/update.fetch.inc
Performs any notifications that should be done once cron fetches new data.