You are here

public function TimeFieldMiniCalendar::settingsSummary in Timefield 1.0.x

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/TimeFieldMiniCalendar.php, line 120

Class

TimeFieldMiniCalendar
Plugin for the 'timefield_mini_calendar_formatter' field formatter.

Namespace

Drupal\timefield\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {

  // @todo Change the autogenerated stub
  $summary = parent::settingsSummary();
  $summary[] = $this
    ->t('Current Format: Mini Calendar Format, expand to see current Selection');
  return $summary;
}