TimestampAgoFormatter::settingsSummary |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php |
Returns a short summary for the current formatter settings. |
TimestampAgoFormatter::viewElements |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php |
Builds a renderable array for a field value. |
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 |
The theme to install as the default for testing. |
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 |
Modules to install. |
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 |
Returns the form for a single field widget. |
TimestampDatetimeWidget::massageFormValues |
function |
core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php |
Massages the form values into the format expected for field values. |
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. |
TimestampFormatter::create |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Creates an instance of the plugin. |
TimestampFormatter::CUSTOM_DATE_FORMAT |
constant |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Used to specify a date format that is customizable by user. |
TimestampFormatter::defaultSettings |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Defines the default settings for this plugin. |
TimestampFormatter::getRefreshIntervals |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Returns the refresh interval options for the time difference display. |
TimestampFormatter::settingsForm |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Returns a form to configure settings for the formatter. |
TimestampFormatter::settingsSummary |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Returns a short summary for the current formatter settings. |
TimestampFormatter::viewElements |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Builds a renderable array for a field value. |
TimestampFormatter::__construct |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Constructs a new TimestampFormatter. |
TimestampFormatterTest |
class |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
Tests the timestamp formatters. |
TimestampFormatterTest.php |
file |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
|
TimestampFormatterTest::$bundle |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
|
TimestampFormatterTest::$display |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
|
TimestampFormatterTest::$entityType |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
|
TimestampFormatterTest::$fieldName |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
|
TimestampFormatterTest::$modules |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
Modules to install. |
TimestampFormatterTest::renderEntityFields |
function |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
Renders fields of a given entity with a given display. |
TimestampFormatterTest::setUp |
function |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
|
TimestampFormatterTest::testTimestampAgoFormatter |
function |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
Tests TimestampAgoFormatter. |
TimestampFormatterTest::testTimestampFormatter |
function |
core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php |
Tests TimestampFormatter. |
TimestampFormatterWithTimeDiffTest |
class |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Tests the 'timestamp' formatter when is used with time difference setting. |
TimestampFormatterWithTimeDiffTest.php |
file |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
|
TimestampFormatterWithTimeDiffTest::$defaultTheme |
property |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
The theme to install as the default for testing. |
TimestampFormatterWithTimeDiffTest::$entity |
property |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Testing entity. |
TimestampFormatterWithTimeDiffTest::$modules |
property |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Modules to install. |
TimestampFormatterWithTimeDiffTest::getFormatDiffTestCases |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Provides test cases for unit testing Drupal.timeDiff.format(). |
TimestampFormatterWithTimeDiffTest::getRefreshIntervalTestCases |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Provides test cases for unit testing Drupal.timeDiff.refreshInterval(). |
TimestampFormatterWithTimeDiffTest::setUp |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
|
TimestampFormatterWithTimeDiffTest::testNoRefreshInterval |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Tests the 'timestamp' formatter without refresh interval. |
TimestampFormatterWithTimeDiffTest::testTimestampFormatterWithTimeDiff |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php |
Tests the 'timestamp' formatter when is used with time difference setting. |
TimestampFormatterWithTimeDiffViewsTest |
class |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php |
Tests the timestamp formatter used with time difference setting in views. |
TimestampFormatterWithTimeDiffViewsTest.php |
file |
core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffViewsTest.php |
|