You are here

public function ElementLinkClassTrait::settingsSummary in Element Class Formatter 8

File

src/Plugin/Field/FieldFormatter/ElementLinkClassTrait.php, line 37

Class

ElementLinkClassTrait
The ElementLinkClassTrait is used to add a class to a field which .

Namespace

Drupal\element_class_formatter\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary = parent::settingsSummary();
  $class = $this
    ->getSetting('class');
  return $this
    ->elementClassSettingsSummary($summary, $class);
}