You are here

Any.php in Drupal 8

File

core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php
View source
<?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;

}

Classes

Namesort descending Description
Any The "any" data type.