Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
bootstrap.inc
»
drupal_get_user_timezone
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
8 calls to drupal_get_user_timezone()
DrupalDateTime::prepareTimezone
in drupal/
core/
lib/
Drupal/
Core/
Datetime/
DrupalDateTime.php
Overrides prepareTimezone().
DrupalDateTimeTest::testDateTimezone
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Datetime/
DrupalDateTimeTest.php
Test that DrupalDateTime can detect the right timezone to use. Test with a variety of less commonly used timezone names to help ensure that the system timezone will be different than the stated timezones.
drupal_session_initialize
in drupal/
core/
includes/
session.inc
Initializes the session handler, starting a session if needed.
drupal_session_regenerate
in drupal/
core/
includes/
session.inc
Called when an anonymous user becomes authenticated or vice-versa.
FormatDateTest::testFormatDate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
FormatDateTest.php
Tests the
format_date
() function.
HandlerBase::getTimezone
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
HandlerBase.php
Figure out what timezone we're in; needed for some date manipulations.
_drupal_bootstrap_page_cache
in drupal/
core/
includes/
bootstrap.inc
Attempts to serve a page from the cache.
_toolbar_initialize_page_cache
in drupal/
core/
modules/
toolbar/
toolbar.module
Use Drupal's page cache for toolbar/subtrees/*, even for authenticated users.