You are here

public function CustomFormatters::settingsSummary in Custom Formatters 8.3

Returns a short summary for the current formatter settings.

If an empty result is returned, a UI can still be provided to display a settings form in case the formatter has configurable settings.

Return value

string[] A short summary of the formatter settings.

Overrides FormatterBase::settingsSummary

File

src/Plugin/Field/FieldFormatter/CustomFormatters.php, line 78

Class

CustomFormatters
Plugin implementation of the 'text_default' formatter.

Namespace

Drupal\custom_formatters\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {

  // @TODO - Re-add form builder functionality once ported.
  return [];
}