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.inc
»
drupal_get_user_timezone
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
15 calls to drupal_get_user_timezone()
DateTimeDatelistWidget::formElement
in drupal/
core/
modules/
datetime/
lib/
Drupal/
datetime/
Plugin/
field/
widget/
DatetimeDatelistWidget.php
Implements
\Drupal\field\Plugin\Type\Widget\WidgetInterface::formElement
().
DateTimeDefaultFormatter::viewElements
in drupal/
core/
modules/
datetime/
lib/
Drupal/
datetime/
Plugin/
field/
formatter/
DatetimeDefaultFormatter.php
Builds a renderable array for a field value.
DateTimeDefaultWidget::formElement
in drupal/
core/
modules/
datetime/
lib/
Drupal/
datetime/
Plugin/
field/
widget/
DatetimeDefaultWidget.php
Implements
\Drupal\field\Plugin\Type\Widget\WidgetInterface::formElement
().
DateTimePlainFormatter::viewElements
in drupal/
core/
modules/
datetime/
lib/
Drupal/
datetime/
Plugin/
field/
formatter/
DatetimePlainFormatter.php
Implements
Drupal\field\Plugin\Type\Formatter\FormatterInterface::viewElements
().
datetime_datelist_form_process
in drupal/
core/
modules/
datetime/
datetime.module
Expands a date element into an array of individual elements.
datetime_datetime_form_process
in drupal/
core/
modules/
datetime/
datetime.module
Expands a #datetime element type into date and/or time elements.
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.
QueryPluginBase::setupTimezone
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
query/
QueryPluginBase.php
Set the database to the current user timezone,
Sql::setupTimezone
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
query/
Sql.php
Overrides
\Drupal\views\Plugin\views\query\QueryPluginBase::setupTimezone
().
_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.