public function BlockFieldWidget::settingsSummary in Block field 8
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
File
- src/
Plugin/ Field/ FieldWidget/ BlockFieldWidget.php, line 113
Class
- BlockFieldWidget
- Plugin implementation of the 'block_field' widget.
Namespace
Drupal\block_field\Plugin\Field\FieldWidgetCode
public function settingsSummary() {
$summary[] = $this
->t('Configuration form: @configuration_form', [
'@configuration_form' => $this
->getSetting('configuration_form'),
]);
return $summary;
}