public function FileWidget::settingsSummary in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php \Drupal\file\Plugin\Field\FieldWidget\FileWidget::settingsSummary()
Returns a short summary for the current widget settings.
If an empty result is returned, a UI can still be provided to display a settings form in case the widget has configurable settings.
Return value
array A short summary of the widget settings.
Overrides WidgetBase::settingsSummary
1 call to FileWidget::settingsSummary()
- ImageWidget::settingsSummary in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Returns a short summary for the current widget settings.
1 method overrides FileWidget::settingsSummary()
- ImageWidget::settingsSummary in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Returns a short summary for the current widget settings.
File
- core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php, line 84 - Contains \Drupal\file\Plugin\Field\FieldWidget\FileWidget.
Class
- FileWidget
- Plugin implementation of the 'file_generic' widget.
Namespace
Drupal\file\Plugin\Field\FieldWidgetCode
public function settingsSummary() {
$summary = array();
$summary[] = t('Progress indicator: @progress_indicator', array(
'@progress_indicator' => $this
->getSetting('progress_indicator'),
));
return $summary;
}