public function GdocFieldFormatter::settingsSummary in Embedded Google Docs Viewer 8
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/ GdocFieldFormatter.php, line 44
Class
- GdocFieldFormatter
- Plugin implementation of the 'gdoc_field' formatter.
Namespace
Drupal\gdoc_field\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary = [];
// Implement settings summary.
return $summary;
}