You are here

public function TestComplexData::getDataDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestComplexData::getDataDefinition()

Gets the data definition.

Return value

\Drupal\Core\TypedData\DataDefinitionInterface The data definition object.

Overrides TypedDataInterface::getDataDefinition

File

core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php, line 101
Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.

Class

TestComplexData
Test class implementing ComplexDataInterface and IteratorAggregate.

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

public function getDataDefinition() {
}