W3cubDocs

/Drupal 8

public function FormatterBase::settingsSummary

public FormatterBase::settingsSummary()

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 FormatterInterface::settingsSummary

File

core/lib/Drupal/Core/Field/FormatterBase.php, line 121

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FormatterBase.php/function/FormatterBase::settingsSummary/8.1.x