String.php

Contains \Drupal\Core\TypedData\Type\String.

Namespace

Drupal\Core\TypedData\Type

File

drupal/core/lib/Drupal/Core/TypedData/Type/String.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\TypedData\Type\String.
 */
namespace Drupal\Core\TypedData\Type;

use Drupal\Core\TypedData\TypedData;

/**
 * The string data type.
 *
 * The plain value of a string is a regular PHP string. For setting the value
 * any PHP variable that casts to a string may be passed.
 */
class String extends TypedData {

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

}

Classes

Namesort descending Description
String The string data type.