class TestTextTrimmedFormatter
Same name in other branches
- 9 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php \Drupal\field_plugins_test\Plugin\Field\FieldFormatter\TestTextTrimmedFormatter
- 10 core/modules/field/tests/modules/field_plugins_test/src/Plugin/Field/FieldFormatter/TestTextTrimmedFormatter.php \Drupal\field_plugins_test\Plugin\Field\FieldFormatter\TestTextTrimmedFormatter
- 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"
},
quickedit = {
"editor" = "form"
}
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Field\FormatterBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\FormatterInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\text\Plugin\Field\FieldFormatter\TextTrimmedFormatter extends \Drupal\Core\Field\FormatterBase implements \Drupal\Core\Security\TrustedCallbackInterface
- class \Drupal\field_plugins_test\Plugin\Field\FieldFormatter\TestTextTrimmedFormatter extends \Drupal\text\Plugin\Field\FieldFormatter\TextTrimmedFormatter
- class \Drupal\text\Plugin\Field\FieldFormatter\TextTrimmedFormatter extends \Drupal\Core\Field\FormatterBase implements \Drupal\Core\Security\TrustedCallbackInterface
- class \Drupal\Core\Field\FormatterBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\FormatterInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of TestTextTrimmedFormatter
File
-
core/
modules/ field/ tests/ modules/ field_plugins_test/ src/ Plugin/ Field/ FieldFormatter/ TestTextTrimmedFormatter.php, line 23
Namespace
Drupal\field_plugins_test\Plugin\Field\FieldFormatterView source
class TestTextTrimmedFormatter extends TextTrimmedFormatter {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.