public function FormatterBase::settingsSummary

Returns a short summary for the current formatter settings.

If an empty result is returned, the formatter is assumed to have no configurable settings, and no UI will be provided to display a settings form.

Return value

array() A short summary of the formatter settings.

Overrides FormatterInterface::settingsSummary

12 methods override FormatterBase::settingsSummary()
DateTimeDefaultFormatter::settingsSummary in drupal/core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimeDefaultFormatter.php
Returns a short summary for the current formatter settings.
DefaultNumberFormatter::settingsSummary in drupal/core/modules/number/lib/Drupal/number/Plugin/field/formatter/DefaultNumberFormatter.php
Returns a short summary for the current formatter settings.
EntityReferenceEntityFormatter::settingsSummary in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceEntityFormatter.php
Returns a short summary for the current formatter settings.
EntityReferenceLabelFormatter::settingsSummary in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceLabelFormatter.php
Returns a short summary for the current formatter settings.
ImageFormatter::settingsSummary in drupal/core/modules/image/lib/Drupal/image/Plugin/field/formatter/ImageFormatter.php
Returns a short summary for the current formatter settings.

... See full list

File

drupal/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterBase.php, line 125
Definition of Drupal\field\Plugin\Type\Formatter\FormatterBase.

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\field\Plugin\Type\Formatter

Code

public function settingsSummary() {
  return array();
}