EditorTestTextLongItem.php

Same filename in other branches
  1. 8.9.x core/modules/editor/tests/modules/src/Plugin/Field/FieldType/EditorTestTextLongItem.php
  2. 10 core/modules/editor/tests/modules/editor_test/src/Plugin/Field/FieldType/EditorTestTextLongItem.php
  3. 11.x core/modules/editor/tests/modules/editor_test/src/Plugin/Field/FieldType/EditorTestTextLongItem.php

Namespace

Drupal\editor_test\Plugin\Field\FieldType

File

core/modules/editor/tests/modules/editor_test/src/Plugin/Field/FieldType/EditorTestTextLongItem.php

View source
<?php

namespace Drupal\editor_test\Plugin\Field\FieldType;

use Drupal\text\Plugin\Field\FieldType\TextLongItem;

/**
 * Plugin implementation of the 'editor_test_text_long' field type.
 *
 * @FieldType(
 *   id = "editor_test_text_long",
 *   label = @Translation("Filter test text (formatted, long)"),
 *   description = @Translation("This field stores a long text with a text format."),
 *   category = @Translation("Text"),
 *   default_widget = "text_textarea",
 *   default_formatter = "text_default"
 * )
 */
class EditorTestTextLongItem extends TextLongItem {

}

Classes

Title Deprecated Summary
EditorTestTextLongItem Plugin implementation of the 'editor_test_text_long' field type.

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