public static function ParagraphsTrimmedFormatterInterface::getTrimFormatterType in Paragraphs Trimmed 8
Get the plugin id of the formatter that will be used to render the final rendered paragraphs output.
Return value
string The formatter plugin id to use for trimming paragraphs output.
2 calls to ParagraphsTrimmedFormatterInterface::getTrimFormatterType()
- ParagraphsTrimmedFormatterBase::create in src/
Plugin/ Field/ FieldFormatter/ ParagraphsTrimmedFormatterBase.php - Creates an instance of the plugin.
- ParagraphsTrimmedFormatterBase::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ ParagraphsTrimmedFormatterBase.php - Defines the default settings for this plugin.
2 methods override ParagraphsTrimmedFormatterInterface::getTrimFormatterType()
- ParagraphsSmartTrimFormatter::getTrimFormatterType in modules/
paragraphs_smart_trim/ src/ Plugin/ Field/ FieldFormatter/ ParagraphsSmartTrimFormatter.php - {inheritdoc}
- ParagraphsTrimmedFormatter::getTrimFormatterType in src/
Plugin/ Field/ FieldFormatter/ ParagraphsTrimmedFormatter.php - {inheritdoc}
File
- src/
Plugin/ ParagraphsTrimmedFormatterInterface.php, line 17
Class
- ParagraphsTrimmedFormatterInterface
- Defines an interface for typed data manager.
Namespace
Drupal\paragraphs_trimmed\PluginCode
public static function getTrimFormatterType();