class TimeStampItemNormalizerTraitDeprecatedTestClass in Drupal 8
For testing that TimeStampItemNormalizerTrait throws a deprecation error.
Hierarchy
- class \Drupal\serialization_test\TimeStampItemNormalizerTraitDeprecatedTestClass uses TimeStampItemNormalizerTrait
Expanded class hierarchy of TimeStampItemNormalizerTraitDeprecatedTestClass
See also
\Drupal\Tests\serialization\Unit\Normalizer\TimeStampItemNormalizerTraitDeprecatedTest
1 file declares its use of TimeStampItemNormalizerTraitDeprecatedTestClass
- TimeStampItemNormalizerTraitDeprecatedTest.php in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ TimeStampItemNormalizerTraitDeprecatedTest.php
File
- core/
modules/ serialization/ tests/ serialization_test/ src/ TimeStampItemNormalizerTraitDeprecatedTestClass.php, line 12
Namespace
Drupal\serialization_testView source
class TimeStampItemNormalizerTraitDeprecatedTestClass {
use TimeStampItemNormalizerTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TimeStampItemNormalizerTrait:: |
protected | property | Allowed timestamps formats for the denormalizer. | |
TimeStampItemNormalizerTrait:: |
protected | function | ||
TimeStampItemNormalizerTrait:: |
protected | function | Processes normalized timestamp values to add a formatted date and format. |