StringInterface.php

Same filename in this branch
  1. 11.x core/modules/locale/src/StringInterface.php
Same filename in other branches
  1. 9 core/modules/locale/src/StringInterface.php
  2. 9 core/lib/Drupal/Core/TypedData/Type/StringInterface.php
  3. 8.9.x core/modules/locale/src/StringInterface.php
  4. 8.9.x core/lib/Drupal/Core/TypedData/Type/StringInterface.php
  5. 10 core/modules/locale/src/StringInterface.php
  6. 10 core/lib/Drupal/Core/TypedData/Type/StringInterface.php

Namespace

Drupal\Core\TypedData\Type

File

core/lib/Drupal/Core/TypedData/Type/StringInterface.php

View source
<?php

namespace Drupal\Core\TypedData\Type;

use Drupal\Core\TypedData\PrimitiveInterface;

/**
 * Interface for strings.
 *
 * 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.
 *
 * @ingroup typed_data
 */
interface StringInterface extends PrimitiveInterface {

}

Interfaces

Title Deprecated Summary
StringInterface Interface for strings.

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