TestDataType.php in Drupal 8
Same filename and directory in other branches
File
core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.phpView source
<?php
namespace Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType;
use Drupal\Core\TypedData\TypedData;
/**
* Provides a test data type.
*
* @DataType(
* id = "test_data_type",
* label = @Translation("Test data type"),
* deriver = "Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType\TestDataTypeDeriver"
* )
*/
class TestDataType extends TypedData {
/**
* Required by the parent class.
*
* @var mixed
*/
protected $value;
}
Classes
Name | Description |
---|---|
TestDataType | Provides a test data type. |