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 enable. |
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::$dateFormatStorage |
property |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
The date format entity storage. |
TimestampFormatter::$dateFormatter |
property |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
The date formatter service. |
TimestampFormatter::create |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Creates an instance of the plugin. |
TimestampFormatter::defaultSettings |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php |
Defines the default settings for this plugin. |
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 enable. |
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. |
TimestampItem |
class |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php |
Defines the 'timestamp' entity field type. |
TimestampItem.php |
file |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php |
|
TimestampItem::generateSampleValue |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php |
Generates placeholder field values. |
TimestampItem::propertyDefinitions |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php |
Defines field item properties. |
TimestampItem::schema |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php |
Returns the schema for the field. |
TimestampItemNormalizer |
class |
core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php |
Converts values for TimestampItem to and from common formats. |
TimestampItemNormalizer |
class |
core/modules/hal/src/Normalizer/TimestampItemNormalizer.php |
Converts values for TimestampItem to and from common formats for hal. |
TimestampItemNormalizer.php |
file |
core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php |
|
TimestampItemNormalizer.php |
file |
core/modules/hal/src/Normalizer/TimestampItemNormalizer.php |
|
TimestampItemNormalizer::$supportedInterfaceOrClass |
property |
core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php |
The interface or class that this Normalizer supports. |
TimestampItemNormalizer::$supportedInterfaceOrClass |
property |
core/modules/hal/src/Normalizer/TimestampItemNormalizer.php |
The interface or class that this Normalizer supports. |
TimestampItemNormalizer::constructValue |
function |
core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php |
Build the field item value using the incoming data. |
TimestampItemNormalizer::constructValue |
function |
core/modules/hal/src/Normalizer/TimestampItemNormalizer.php |
Build the field item value using the incoming data. |
TimestampItemNormalizer::normalize |
function |
core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php |
|
TimestampItemNormalizer::normalizedFieldValues |
function |
core/modules/hal/src/Normalizer/TimestampItemNormalizer.php |
Normalizes field values for an item. |
TimestampItemNormalizerTest |
class |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
Tests that TimestampItem (de)normalization uses Timestamp (de)normalization. |
TimestampItemNormalizerTest.php |
file |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
|
TimestampItemNormalizerTest::$item |
property |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
The test TimestampItem. |