class TestTextTrimmedFormatter

Same name in other branches
  1. 8.9.x core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php \Drupal\field_plugins_test\Plugin\Field\FieldFormatter\TestTextTrimmedFormatter
  2. 10 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php \Drupal\field_plugins_test\Plugin\Field\FieldFormatter\TestTextTrimmedFormatter
  3. 11.x core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php \Drupal\field_plugins_test\Plugin\Field\FieldFormatter\TestTextTrimmedFormatter

Plugin implementation of the 'field_plugins_test_text_formatter' formatter.

Plugin annotation


@FieldFormatter(
  id = "field_plugins_test_text_formatter",
  label = @Translation("Test Trimmed"),
  field_types = {
    "text",
    "text_long",
    "text_with_summary"
  }
)

Hierarchy

Expanded class hierarchy of TestTextTrimmedFormatter

File

core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php, line 20

Namespace

Drupal\field_plugins_test\Plugin\Field\FieldFormatter
View source
class TestTextTrimmedFormatter extends TextTrimmedFormatter {

}

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