3 namespace Drupal\text\Plugin\Field\FieldType;
5 use Drupal\Core\Field\FieldStorageDefinitionInterface;
8 * Plugin implementation of the 'text_long' field type.
12 * label = @Translation("Text (formatted, long)"),
13 * description = @Translation("This field stores a long text with a text format."),
14 * category = @Translation("Text"),
15 * default_widget = "text_textarea",
16 * default_formatter = "text_default"
19 class TextLongItem extends TextItemBase {
24 public static function schema(FieldStorageDefinitionInterface $field_definition) {
32 'type' => 'varchar_ascii',
37 'format' => ['format'],