You are here

class TimeStampItemNormalizerTraitDeprecatedTestClass in Drupal 8

For testing that TimeStampItemNormalizerTrait throws a deprecation error.

Hierarchy

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_test
View source
class TimeStampItemNormalizerTraitDeprecatedTestClass {
  use TimeStampItemNormalizerTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
TimeStampItemNormalizerTrait::$allowedFormats protected property Allowed timestamps formats for the denormalizer.
TimeStampItemNormalizerTrait::constructValue protected function
TimeStampItemNormalizerTrait::processNormalizedValues protected function Processes normalized timestamp values to add a formatted date and format.