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. 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
Time::getCurrentMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns the current system time with microsecond precision.
Time::getCurrentTime function core/lib/Drupal/Component/Datetime/Time.php Returns the current system time as an integer.
Time::getDefaultCacheMaxAge function core/modules/views/src/Plugin/views/cache/Time.php Returns the default cache max age.
Time::getLifespan function core/modules/views/src/Plugin/views/cache/Time.php
Time::getProxyRequestMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns a mimic of the timestamp of the current request.
Time::getProxyRequestTime function core/lib/Drupal/Component/Datetime/Time.php Returns a mimic of the timestamp of the current request.
Time::getRequestMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns the timestamp for the current request with microsecond precision.
Time::getRequestTime function core/lib/Drupal/Component/Datetime/Time.php Returns the timestamp for the current request.
Time::summaryTitle function core/modules/views/src/Plugin/views/cache/Time.php Returns a string to display as the clickable title for the access control.
Time::validateOptionsForm function core/modules/views/src/Plugin/views/cache/Time.php Validate the options form.
Time::__construct function core/modules/views/src/Plugin/views/cache/Time.php Constructs a Time cache plugin object.
Time::__construct function core/lib/Drupal/Component/Datetime/Time.php Constructs a Time object.
TimeInterface interface core/lib/Drupal/Component/Datetime/TimeInterface.php Defines an interface for obtaining system time.
TimeInterface.php file core/lib/Drupal/Component/Datetime/TimeInterface.php
TimeInterface::getCurrentMicroTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the current system time with microsecond precision.
TimeInterface::getCurrentTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the current system time as an integer.
TimeInterface::getRequestMicroTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the timestamp for the current request with microsecond precision.
TimeInterface::getRequestTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the timestamp for the current request.
TimeInterval class core/modules/views/src/Plugin/views/field/TimeInterval.php A handler to provide proper displays for time intervals.
TimeInterval.php file core/modules/views/src/Plugin/views/field/TimeInterval.php
TimeInterval::$dateFormatter property core/modules/views/src/Plugin/views/field/TimeInterval.php The date formatter service.
TimeInterval::buildOptionsForm function core/modules/views/src/Plugin/views/field/TimeInterval.php Default option form that provides label widget that all fields should have.
TimeInterval::create function core/modules/views/src/Plugin/views/field/TimeInterval.php Creates an instance of the plugin.
TimeInterval::defineOptions function core/modules/views/src/Plugin/views/field/TimeInterval.php Information about options for all kinds of purposes will be held here.
TimeInterval::render function core/modules/views/src/Plugin/views/field/TimeInterval.php Renders the field.
TimeInterval::__construct function core/modules/views/src/Plugin/views/field/TimeInterval.php Constructs a TimeInterval plugin object.
Timer class core/lib/Drupal/Component/Utility/Timer.php Provides helpers to use timers throughout a request.
Timer.php file core/lib/Drupal/Component/Utility/Timer.php
Timer::$timers property core/lib/Drupal/Component/Utility/Timer.php
Timer::read function core/lib/Drupal/Component/Utility/Timer.php Reads the current timer value without stopping the timer.
Timer::start function core/lib/Drupal/Component/Utility/Timer.php Starts the timer with the specified name.
Timer::stop function core/lib/Drupal/Component/Utility/Timer.php Stops the timer with the specified name.
TimerTest class core/tests/Drupal/Tests/Component/Utility/TimerTest.php Tests the Timer system.
TimerTest.php file core/tests/Drupal/Tests/Component/Utility/TimerTest.php
TimerTest::testTimer function core/tests/Drupal/Tests/Component/Utility/TimerTest.php Tests Timer::read() time accumulation accuracy across multiple restarts.
TimeSpan class core/lib/Drupal/Core/TypedData/Plugin/DataType/TimeSpan.php The time span data type represents durations as number of seconds.
TimeSpan.php file core/lib/Drupal/Core/TypedData/Plugin/DataType/TimeSpan.php
TimeSpan::getDuration function core/lib/Drupal/Core/TypedData/Plugin/DataType/TimeSpan.php Returns the duration.
TimeSpan::setDuration function core/lib/Drupal/Core/TypedData/Plugin/DataType/TimeSpan.php Sets the duration.
Timestamp class core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php The timestamp data type.
Timestamp.php file core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php
Timestamp::$value property core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php The data value as a UNIX timestamp.
Timestamp::getDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php Returns the date time object.
Timestamp::setDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php Sets the date time object.
TimestampAgoFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Plugin implementation of the 'timestamp' formatter as time ago.
TimestampAgoFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::$dateFormatter property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php The date formatter service.
TimestampAgoFormatter::$request property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php The current Request object.
TimestampAgoFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Creates an instance of the plugin.
TimestampAgoFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Defines the default settings for this plugin.

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