You are here

public function EmptyFieldNbsp::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()

File

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

Class

EmptyFieldNbsp
Defines non-breaking space field.

Namespace

Drupal\empty_fields\Plugin\EmptyFields

Code

public function settingsSummary() {
  return $this
    ->t('Non-breaking space displayed');
}