TextSummaryOrTrimmedFormatter.php

Same filename in other branches
  1. 9 core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php
  2. 8.9.x core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php
  3. 11.x core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php

Namespace

Drupal\text\Plugin\Field\FieldFormatter

File

core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php

View source
<?php

namespace Drupal\text\Plugin\Field\FieldFormatter;

use Drupal\Core\Field\Attribute\FieldFormatter;
use Drupal\Core\StringTranslation\TranslatableMarkup;

/**
 * Plugin implementation of the 'text_summary_or_trimmed' formatter.
 */
class TextSummaryOrTrimmedFormatter extends TextTrimmedFormatter {

}

Classes

Title Deprecated Summary
TextSummaryOrTrimmedFormatter Plugin implementation of the 'text_summary_or_trimmed' formatter.

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