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::hasCacheableSupportsMethod |
function |
core/modules/hal/src/Normalizer/TimestampItemNormalizer.php |
|
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. |
TimestampItemNormalizerTest::$normalizer |
property |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
|
TimestampItemNormalizerTest::createTimestampItemProphecy |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
Creates a TimestampItem prophecy. |
TimestampItemNormalizerTest::setUp |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
|
TimestampItemNormalizerTest::testDenormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
@covers ::denormalize |
TimestampItemNormalizerTest::testNormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
@covers ::normalize |
TimestampItemNormalizerTest::testSupportsDenormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
@covers ::supportsDenormalization |
TimestampItemNormalizerTest::testSupportsNormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php |
@covers ::supportsNormalization |
TimestampItemTest |
class |
core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php |
Tests the timestamp fields. |
TimestampItemTest.php |
file |
core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php |
|
TimestampItemTest::$field |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php |
The field used in this test class. |
TimestampItemTest::$fieldStorage |
property |
core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php |
A field storage to use in this test class. |
TimestampItemTest::setUp |
function |
core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php |
Set the default field storage backend for fields created during tests. |
TimestampItemTest::testDateTime |
function |
core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php |
Tests using entity fields of the datetime field type. |
TimestampNormalizer |
class |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
Converts values for the Timestamp data type to and from common formats. |
TimestampNormalizer.php |
file |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
|
TimestampNormalizer::$allowedFormats |
property |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
Allowed datetime formats for the denormalizer. |
TimestampNormalizer::$supportedInterfaceOrClass |
property |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
The interface or class that this Normalizer supports. |
TimestampNormalizer::denormalize |
function |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
|
TimestampNormalizer::getNormalizationTimezone |
function |
core/modules/serialization/src/Normalizer/TimestampNormalizer.php |
Gets the timezone to be used during normalization. |
TimestampNormalizerTest |
class |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
Unit test coverage for the "Timestamp" @DataType. |
TimestampNormalizerTest.php |
file |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
|
TimestampNormalizerTest::$data |
property |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
The tested data type. |
TimestampNormalizerTest::$normalizer |
property |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
The tested data type's normalizer. |
TimestampNormalizerTest::providerTestDenormalizeValidFormats |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
Data provider for testDenormalizeValidFormats. |
TimestampNormalizerTest::setUp |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
|
TimestampNormalizerTest::testDenormalizeException |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
Tests the denormalize function with bad data. |
TimestampNormalizerTest::testDenormalizeValidFormats |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
Tests the denormalize function with good data. |
TimestampNormalizerTest::testNormalize |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
@covers ::normalize |
TimestampNormalizerTest::testSupportsDenormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
@covers ::supportsDenormalization |
TimestampNormalizerTest::testSupportsNormalization |
function |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
@covers ::supportsNormalization |
TimestampNormalizerTestDrupalDateTime |
class |
core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php |
Provides a test class for testing DrupalDateTime. |