TestTextTrimmedFormatter.php
Same filename in other branches
- 9 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php
- 10 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php
- 11.x core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php
Namespace
Drupal\field_plugins_test\Plugin\Field\FieldFormatterFile
-
core/
modules/ field/ tests/ modules/ field_plugins_test/ src/ Plugin/ Field/ FieldFormatter/ TestTextTrimmedFormatter.php
View source
<?php
namespace Drupal\field_plugins_test\Plugin\Field\FieldFormatter;
use Drupal\text\Plugin\Field\FieldFormatter\TextTrimmedFormatter;
/**
* Plugin implementation of the 'field_plugins_test_text_formatter' formatter.
*
* @FieldFormatter(
* id = "field_plugins_test_text_formatter",
* label = @Translation("Test Trimmed"),
* field_types = {
* "text",
* "text_long",
* "text_with_summary"
* },
* quickedit = {
* "editor" = "form"
* }
* )
*/
class TestTextTrimmedFormatter extends TextTrimmedFormatter {
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestTextTrimmedFormatter | Plugin implementation of the 'field_plugins_test_text_formatter' formatter. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.