TestDataType.php

Same filename and directory in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php
  2. 8.9.x core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php
  3. 10 core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php

Namespace

Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType

File

core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\Attribute\DataType;
use Drupal\Core\TypedData\TypedData;

/**
 * Provides a test data type.
 */
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.