Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
TimeInterval::buildOptionsForm function core/modules/views/src/Plugin/views/field/TimeInterval.php
TimeInterval::defineOptions function core/modules/views/src/Plugin/views/field/TimeInterval.php
TimeInterval::render function core/modules/views/src/Plugin/views/field/TimeInterval.php
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 An associative array of timers.
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
TimeSpan::getDurationAsIso8601Abnf function core/lib/Drupal/Core/TypedData/Plugin/DataType/TimeSpan.php #[JsonSchema([
'type' => 'string',
'format' => 'duration',
])]
TimeSpan::setDuration function core/lib/Drupal/Core/TypedData/Plugin/DataType/TimeSpan.php
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
Timestamp::setDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/Timestamp.php
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
TimestampAgoFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::formatTimestamp function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Formats a timestamp.
TimestampAgoFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampAgoFormatter::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Constructs a TimestampAgoFormatter object.
TimestampAgoFormatterTest class core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php Tests the functionality of TimestampAgoFormatter core field formatter.
TimestampAgoFormatterTest.php file core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::$displayOptions property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php An array of display options to pass to entity_get_display().
TimestampAgoFormatterTest::$field property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php The field used in this test class.
TimestampAgoFormatterTest::$fieldStorage property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php A field storage to use in this test class.
TimestampAgoFormatterTest::$modules property core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::setUp function core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampAgoFormatterTest::testSettings function core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php Tests the formatter settings.
TimestampDatetimeWidget class core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php Plugin implementation of the 'datetime timestamp' widget.
TimestampDatetimeWidget.php file core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php
TimestampDatetimeWidget::formElement function core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php
TimestampDatetimeWidget::massageFormValues function core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php
TimestampFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Plugin implementation of the 'timestamp' formatter.
TimestampFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php
TimestampFormatter::buildStates function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds the #states key for form elements.

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