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

1
2
3
public function settingsSummary() {
  return array();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.