summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php
blob: 8fe1a9a0b9668c457d81e27562d534c4e1fd21f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

namespace Drupal\Core\TypedData\Plugin\DataType;

use Drupal\Core\TypedData\TypedData;

/**
 * The "any" data type.
 *
 * The "any" data type does not implement a list or complex data interface, nor
 * is it mappable to any primitive type. Thus, it may contain any PHP data for
 * which no further metadata is available.
 *
 * @DataType(
 *   id = "any",
 *   label = @Translation("Any data")
 * )
 */
class Any extends TypedData {

  /**
   * The data value.
   *
   * @var mixed
   */
  protected $value;

}