TextInterface.php in Typed Data API enhancements 8
Namespace
Drupal\typed_data\TypedData\TypeFile
src/TypedData/Type/TextInterface.phpView source
<?php
namespace Drupal\typed_data\TypedData\Type;
use Drupal\Core\TypedData\Type\StringInterface;
/**
* Interface for text data.
*
* 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.
*
* This type adds nothing to the base StringInterface type. It is used as a
* indicator that the string data is 'long'. The Typed Data API module may
* then use a Textarea form widget for editing the value.
*
* @ingroup typed_data
*/
interface TextInterface extends StringInterface {
}
Interfaces
Name | Description |
---|---|
TextInterface | Interface for text data. |