You are here

interface ParagraphsTrimmedFormatterInterface in Paragraphs Trimmed 8

Defines an interface for typed data manager.

Hierarchy

Expanded class hierarchy of ParagraphsTrimmedFormatterInterface

All classes that implement ParagraphsTrimmedFormatterInterface

1 file declares its use of ParagraphsTrimmedFormatterInterface
ParagraphsTrimmedFormatterBase.php in src/Plugin/Field/FieldFormatter/ParagraphsTrimmedFormatterBase.php

File

src/Plugin/ParagraphsTrimmedFormatterInterface.php, line 8

Namespace

Drupal\paragraphs_trimmed\Plugin
View source
interface ParagraphsTrimmedFormatterInterface {

  /**
   * Get the plugin id of the formatter that will be used to render the
   * final rendered paragraphs output.
   *
   * @return string
   *   The formatter plugin id to use for trimming paragraphs output.
   */
  public static function getTrimFormatterType();

}

Members

Namesort descending Modifiers Type Description Overrides
ParagraphsTrimmedFormatterInterface::getTrimFormatterType public static function Get the plugin id of the formatter that will be used to render the final rendered paragraphs output. 2