Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
bootstrap.php
»
REQUEST_TIME
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
140 uses of REQUEST_TIME
AggregatorController::adminOverview
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Controller/
AggregatorController.php
Displays the aggregator administration page.
aggregator_cron
in drupal/
core/
modules/
aggregator/
aggregator.module
Implements
hook_cron
().
aggregator_refresh
in drupal/
core/
modules/
aggregator/
aggregator.module
Checks a news feed for new items.
AliasManagerCacheDecorator::writeCache
in drupal/
core/
lib/
Drupal/
Core/
CacheDecorator/
AliasManagerCacheDecorator.php
Implements
\Drupal\Core\CacheDecorator\CacheDecoratorInterface::writeCache
().
BulkFormTest::testBulkForm
in drupal/
core/
modules/
action/
lib/
Drupal/
action/
Tests/
BulkFormTest.php
Tests the bulk form.
CommentFormController::buildEntity
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentFormController.php
Overrides EntityFormController::buildEntity().
CommentStorageController::preSave
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentStorageController.php
Overrides
Drupal\Core\Entity\DatabaseStorageController::preSave
().
CommentTokenReplaceTest::testCommentTokenReplacement
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
comment_preview
in drupal/
core/
modules/
comment/
comment.module
Generates a comment preview.
ConfigLocaleOverride::testConfigLocaleUserAndGlobalOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigLocaleOverride.php
Tests locale override in combination with global overrides.
ConfigLocaleOverride::testConfigLocaleUserOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigLocaleOverride.php
Tests locale override based on user's preferred language.
CronForm::buildForm
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Form/
CronForm.php
Implements
\Drupal\Core\Form\FormInterface::buildForm
().
DatabaseBackend::doSet
in drupal/
core/
lib/
Drupal/
Core/
Cache/
DatabaseBackend.php
Actually set the cache.
DatabaseBackend::prepareItem
in drupal/
core/
lib/
Drupal/
Core/
Cache/
DatabaseBackend.php
Prepares a cached item.
Date::buildOptionsForm
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
field/
Date.php
Default options form that provides the label widget that all fields should have.
Date::getDefaultArgument
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
argument/
Date.php
Set the empty argument value to the current date, formatted appropriately for this argument.
Date::render
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
field/
Date.php
Render the field.
DateFormatDeleteForm::getQuestion
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Form/
DateFormatDeleteForm.php
Returns the question to ask the user.
DateFormatEditForm::buildForm
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Form/
DateFormatEditForm.php
Form constructor.
DateHelper::years
in drupal/
core/
modules/
datetime/
lib/
Drupal/
datetime/
DateHelper.php
Constructs an array of years in a specified range.
DbLogTest::generateLogEntries
in drupal/
core/
modules/
dblog/
lib/
Drupal/
dblog/
Tests/
DbLogTest.php
Generates a number of random database log events.
DbLogTest::testDBLogAddAndClear
in drupal/
core/
modules/
dblog/
lib/
Drupal/
dblog/
Tests/
DbLogTest.php
Tests the addition and clearing of log events through the admin interface.
db_ignore_slave
in drupal/
core/
includes/
database.inc
Sets a session variable specifying the lag time for ignoring a slave server.
DefaultProcessor::postProcess
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Plugin/
aggregator/
processor/
DefaultProcessor.php
Implements
\Drupal\aggregator\Plugin\ProcessorInterface::postProcess
().
DefaultViewRecentComments::setUp
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
Views/
DefaultViewRecentComments.php
Sets up a Drupal site for running functional and integration tests.
DefaultViewsTest::setUp
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
DefaultViewsTest.php
Sets up a Drupal site for running functional and integration tests.
DefaultViewsTest::testArchiveView
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
DefaultViewsTest.php
Tests the archive view.
drupal_cron_run
in drupal/
core/
includes/
common.inc
Executes a cron run when called.
drupal_delete_file_if_stale
in drupal/
core/
includes/
common.inc
Deletes files modified more than a set time ago.
drupal_page_header
in drupal/
core/
includes/
bootstrap.inc
Sets HTTP headers in preparation for a page response.
drupal_page_set_cache
in drupal/
core/
includes/
common.inc
Stores the current page in the cache.
drupal_pre_render_scripts
in drupal/
core/
includes/
common.inc
#pre_render callback to add the elements needed for JavaScript tags to be rendered.
drupal_session_commit
in drupal/
core/
includes/
session.inc
Commits the current session, if necessary.
drupal_session_regenerate
in drupal/
core/
includes/
session.inc
Called when an anonymous user becomes authenticated or vice-versa.
drupal_valid_test_ua
in drupal/
core/
includes/
bootstrap.inc
Returns the test prefix if this is an internal request from SimpleTest.
EntityCrudHookTest::testCommentHooks
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityCrudHookTest.php
Tests hook invocations for CRUD operations on comments.
EntityCrudHookTest::testFileHooks
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityCrudHookTest.php
Tests hook invocations for CRUD operations on files.
EntityCrudHookTest::testNodeHooks
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityCrudHookTest.php
Tests hook invocations for CRUD operations on nodes.
EntityCrudHookTest::testUserHooks
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityCrudHookTest.php
Tests hook invocations for CRUD operations on users.
EntityTranslationController::entityFormAlter
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
EntityTranslationController.php
Implements EntityTranslationControllerInterface::entityFormAlter().
EntityTranslationController::entityFormEntityBuild
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
EntityTranslationController.php
Entity builder method.
EntityTranslationUITest::assertAuthoringInfo
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
Tests/
EntityTranslationUITest.php
Tests the translation authoring information.
FieldDateTest::testFieldDate
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
FieldDateTest.php
FileManagedTestBase::createFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileManagedTestBase.php
Create a file and save it to the files table and assert that it occurs correctly.
FileStorageController::preSave
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
FileStorageController.php
Overrides Drupal\Core\Entity\DatabaseStorageController::presave().
FileStorageController::retrieveTemporaryFiles
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
FileStorageController.php
Retrieve temporary files that are older than
DRUPAL_MAXIMUM_TEMP_FILE_AGE
.
FinishResponseSubscriber::onRespond
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
FinishResponseSubscriber.php
Sets extra headers on successful responses.
FrontPageTest::testFrontPage
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
Views/
FrontpageTest.php
Tests the frontpage.
GenericCacheBackendUnitTestBase::testGetMultiple
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Tests
Drupal\Core\Cache\CacheBackendInterface::getMultiple
().
GenericCacheBackendUnitTestBase::testSetGet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Cache/
GenericCacheBackendUnitTestBase.php
Tests the get and set methods of
Drupal\Core\Cache\CacheBackendInterface
.
history.module
in drupal/
core/
modules/
history/
history.module
Records which users have read which content.
HistoryUserTimestamp::query
in drupal/
core/
modules/
history/
lib/
Drupal/
history/
Plugin/
views/
filter/
HistoryUserTimestamp.php
Add this filter to the query.
hook_cron
in drupal/
core/
modules/
system/
system.api.php
Perform periodic actions.
hook_entity_presave
in drupal/
core/
includes/
entity.api.php
Act on an entity before it is about to be created or updated.
hook_requirements
in drupal/
core/
modules/
system/
system.api.php
Check installation requirements and do status reporting.
hook_views_query_substitutions
in drupal/
core/
modules/
views/
views.api.php
Replace special strings in the query before it is executed.
ItemsPerPageTest::testItemsPerPage
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Wizard/
ItemsPerPageTest.php
Tests the number of items per page.
ItemStorageController::create
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
ItemStorageController.php
Overrides Drupal\Core\Entity\DataBaseStorageController::create().
LocaleUpdateTest::makePoFile
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Creates a translation file and tests its timestamp.
LocaleUpdateTest::setUp
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Sets up a Drupal site for running functional and integration tests.
locale_translate_batch_import_save
in drupal/
core/
modules/
locale/
locale.bulk.inc
Batch callback: Save data of imported files.
locale_translation_batch_fetch_import
in drupal/
core/
modules/
locale/
locale.batch.inc
Batch process: Import translation file.
locale_translation_status_form_submit
in drupal/
core/
modules/
locale/
locale.pages.inc
Form submission handler for
locale_translation_status_form
().
locale_translation_status_save
in drupal/
core/
modules/
locale/
locale.module
Saves the status of translation sources in static cache.
MemoryBackend::invalidate
in drupal/
core/
lib/
Drupal/
Core/
Cache/
MemoryBackend.php
Implements
Drupal\Core\Cache\CacheBackendInterface::invalidate
().
MemoryBackend::invalidateAll
in drupal/
core/
lib/
Drupal/
Core/
Cache/
MemoryBackend.php
Implements
Drupal\Core\Cache\CacheBackendInterface::invalidateAll
().
MemoryBackend::invalidateMultiple
in drupal/
core/
lib/
Drupal/
Core/
Cache/
MemoryBackend.php
Implements
Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple
().
MemoryBackend::invalidateTags
in drupal/
core/
lib/
Drupal/
Core/
Cache/
MemoryBackend.php
Implements
Drupal\Core\Cache\CacheBackendInterface::invalidateTags
().
MemoryBackend::prepareItem
in drupal/
core/
lib/
Drupal/
Core/
Cache/
MemoryBackend.php
Prepares a cached item.
MemoryBackend::set
in drupal/
core/
lib/
Drupal/
Core/
Cache/
MemoryBackend.php
Implements
Drupal\Core\Cache\CacheBackendInterface::set
().
NodeAdminTest::testContentAdminSort
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeAdminTest.php
Tests that the table sorting works on the content admin pages.
NodeFormController::prepareEntity
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
NodeFormController.php
Prepares the node object.
NodeIntegrationTest::testNodeViewTypeArgument
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
Views/
NodeIntegrationTest.php
Tests basic node view with a node type argument.
NodeRevisionsAllTestCase::testRevisions
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeRevisionsAllTestCase.php
Checks node revision operations.
NodeRevisionsTest::testRevisions
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeRevisionsTest.php
Checks node revision related operations.
NodeSaveTest::testTimestamps
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeSaveTest.php
Verifies accuracy of the "created" and "changed" timestamp functionality.
NodeStorageController::create
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
NodeStorageController.php
Overrides
Drupal\Core\Entity\DatabaseStorageController::create
().
NodeStorageController::preSave
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
NodeStorageController.php
Overrides
Drupal\Core\Entity\DatabaseStorageController::preSave
().
NodeTokenReplaceTest::testNodeTokenReplacement
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeTokenReplaceTest.php
Creates a node, then tests the tokens generated from it.
NodeTranslationUITest::assertAuthoringInfo
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeTranslationUITest.php
Overrides
\Drupal\translation_entity\Tests\EntityTranslationUITest::assertAuthoringInfo
().
node_preview
in drupal/
core/
modules/
node/
node.pages.inc
Generates a node preview.
node_submit
in drupal/
core/
modules/
node/
node.module
Prepares a node for saving by populating the author and creation date.
SearchRankingTest::testRankings
in drupal/
core/
modules/
search/
lib/
Drupal/
search/
Tests/
SearchRankingTest.php
SlaveDatabaseIgnoreSubscriber::checkSlaveServer
in drupal/
core/
lib/
Drupal/
Core/
EventSubscriber/
SlaveDatabaseIgnoreSubscriber.php
Checks and disables the slave database server if appropriate.
SortingTest::testSorting
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Wizard/
SortingTest.php
Tests the sorting functionality.
statistics_cron
in drupal/
core/
modules/
statistics/
statistics.module
Implements
hook_cron
().
system_date_format_localize_form
in drupal/
core/
modules/
system/
system.admin.inc
Form constructor for the date localization configuration form.
system_date_time_formats
in drupal/
core/
modules/
system/
system.admin.inc
Displays the date format strings overview page.
system_date_time_lookup
in drupal/
core/
modules/
system/
system.admin.inc
Ajax callback; Returns the date for a given format string.
system_requirements
in drupal/
core/
modules/
system/
system.install
Test and report Drupal installation requirements.
system_run_automated_cron
in drupal/
core/
modules/
system/
system.module
Run the automated cron if enabled.
system_tokens
in drupal/
core/
modules/
system/
system.tokens.inc
Implements
hook_tokens
().
system_token_info
in drupal/
core/
modules/
system/
system.tokens.inc
Implements
hook_token_info
().
template_preprocess_aggregator_feed_source
in drupal/
core/
modules/
aggregator/
aggregator.pages.inc
Prepares variables for aggregator feed source templates.
template_preprocess_aggregator_item
in drupal/
core/
modules/
aggregator/
aggregator.pages.inc
Prepares variables for aggregator item templates.
template_preprocess_aggregator_summary_item
in drupal/
core/
modules/
aggregator/
aggregator.pages.inc
Processes variables for aggregator summary item templates.
template_preprocess_forum_submitted
in drupal/
core/
modules/
forum/
forum.module
Prepares variables for forum submission information templates.
TempStore::set
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
TempStore.php
Stores a particular key/value pair in this TempStore.
TempStore::setIfNotExists
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
TempStore.php
Stores a particular key/value pair only if the key doesn't already exist.
theme_aggregator_page_opml
in drupal/
core/
modules/
aggregator/
aggregator.pages.inc
Prints the OPML page for the feed.
theme_comment_block
in drupal/
core/
modules/
comment/
comment.module
Returns HTML for a list of recent comments.
theme_image_style_preview
in drupal/
core/
modules/
image/
image.admin.inc
Returns HTML for a preview of an image style.
theme_locale_translation_last_check
in drupal/
core/
modules/
locale/
locale.pages.inc
Returns HTML for the last time we checked for update data.
theme_update_last_check
in drupal/
core/
modules/
update/
update.module
Returns HTML for the last time we checked for update data.
Time::cacheExpire
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
cache/
Time.php
Determine the expiration time of the cache type, or NULL if no expire.
TokenReplaceTest::testSystemDateTokenReplacement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Tests the generation of all system date tokens.
TokenReplaceTest::testTokenReplacement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Creates a user and a node, then tests the tokens generated from them.
tracker_page
in drupal/
core/
modules/
tracker/
tracker.pages.inc
Page callback: Generates a page of tracked nodes for the site.
translation_entity_entity_insert
in drupal/
core/
modules/
translation_entity/
translation_entity.module
Implements
hook_entity_insert
().
TwigEnvironment::updateCompiledTemplate
in drupal/
core/
lib/
Drupal/
Core/
Template/
TwigEnvironment.php
Compile the source and write the compiled template to disk.
TypedDataTest::testGetAndSet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
TypedData/
TypedDataTest.php
Tests the basics around constructing and working with typed data objects.
update_cron
in drupal/
core/
modules/
update/
update.module
Implements
hook_cron
().
update_delete_file_if_stale
in drupal/
core/
modules/
update/
update.module
Deletes stale files and directories from the update manager disk cache.
UserAdminListingTest::testUserListing
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserAdminListingTest.php
Tests the listing.
UserBlocksTests::testWhosOnlineBlock
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserBlocksTests.php
Test the Who's Online block.
UserOnlineBlock::build
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Plugin/
Block/
UserOnlineBlock.php
Builds and returns the renderable array for this block plugin.
UserPasswordResetTest::testUserPasswordReset
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserPasswordResetTest.php
Tests password reset functionality.
UserRegistrationTest::testRegistrationDefaultValues
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserRegistrationTest.php
UserStorageController::create
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
UserStorageController.php
Overrides
Drupal\Core\Entity\DatabaseStorageController::create
().
user_admin_account
in drupal/
core/
modules/
user/
user.admin.inc
Page callback: User administration page.
user_cancel_confirm
in drupal/
core/
modules/
user/
user.pages.inc
Menu callback; Cancel a user account via e-mail confirmation link.
user_cancel_url
in drupal/
core/
modules/
user/
user.module
Generates a URL to confirm an account cancellation request.
user_cookie_delete
in drupal/
core/
modules/
user/
user.module
Delete a visitor information cookie.
user_cookie_save
in drupal/
core/
modules/
user/
user.module
Saves visitor information as a cookie so it can be reused.
user_login_finalize
in drupal/
core/
modules/
user/
user.module
Finalize the login process. Must be called when logging in a user.
user_pass_reset
in drupal/
core/
modules/
user/
user.pages.inc
Menu callback; process one time login link and redirects to the user page on success.
user_pass_reset_url
in drupal/
core/
modules/
user/
user.module
Generates a unique URL for a user to login and reset their password.
user_user_view
in drupal/
core/
modules/
user/
user.module
Implements
hook_user_view
().
ViewEditFormController::form
in drupal/
core/
modules/
views_ui/
lib/
Drupal/
views_ui/
ViewEditFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
ViewExecutable::preExecute
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
ViewExecutable.php
Run attachments and let the display do what it needs to do prior to running.
views_views_query_substitutions
in drupal/
core/
modules/
views/
views.views_execution.inc
Implements
hook_views_query_substitutions
().
WebTestBase::drupalCreateNode
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Creates a node based on default settings.
XmlRpcValidatorTest::testValidator
in drupal/
core/
modules/
xmlrpc/
lib/
Drupal/
xmlrpc/
Tests/
XmlRpcValidatorTest.php
Run validator1 tests.
_drupal_flush_css_js
in drupal/
core/
includes/
common.inc
Changes the dummy query string added to all CSS and JavaScript files.
_drupal_session_delete_cookie
in drupal/
core/
includes/
session.inc
Deletes the session cookie.
_drupal_session_write
in drupal/
core/
includes/
session.inc
Writes an entire session to the database (internal use only).
_toolbar_initialize_page_cache
in drupal/
core/
modules/
toolbar/
toolbar.module
Use Drupal's page cache for toolbar/subtrees/*, even for authenticated users.
_update_create_fetch_task
in drupal/
core/
modules/
update/
update.fetch.inc
Adds a task to the queue for fetching release history data for a project.
_update_cron_notify
in drupal/
core/
modules/
update/
update.fetch.inc
Performs any notifications that should be done once cron fetches new data.
_update_process_fetch_task
in drupal/
core/
modules/
update/
update.fetch.inc
Processes a task to fetch available update data for a single project.