Any.php

Same filename and directory in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php
  2. 8.9.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php
  3. 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php

Namespace

Drupal\Core\TypedData\Plugin\DataType

File

core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php

View source
<?php

namespace Drupal\Core\TypedData\Plugin\DataType;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\Attribute\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.
 */
class Any extends TypedData {
    
    /**
     * The data value.
     *
     * @var mixed
     */
    protected $value;

}

Classes

Title Deprecated Summary
Any The "any" data type.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.