TestDataType.php
Same filename in other branches
Namespace
Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataTypeFile
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ Fixtures/ Plugin/ DataType/ TestDataType.php
View 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
Title | Deprecated | Summary |
---|---|---|
TestDataType | Provides a test data type. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.