You are here

public function Broken::settingsSummary in Empty fields 8

Returns a short summary line for the current formatter settings.

Return value

string Text for the field formatter settings summary.

Overrides EmptyFieldPluginBase::settingsSummary

See also

\Drupal\Core\Field\FormatterInterface::settingsSummary()

1 call to Broken::settingsSummary()
Broken::react in src/Plugin/EmptyFields/Broken.php
Builds render array for empty field.

File

src/Plugin/EmptyFields/Broken.php, line 27

Class

Broken
Defines a fallback plugin for missing empty field plugins.

Namespace

Drupal\empty_fields\Plugin\EmptyFields

Code

public function settingsSummary() {
  return $this
    ->t('This plugin broken or missing.');
}