public static function ViewsReferenceFieldFormatter::defaultSettings in Views Reference Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php \Drupal\viewsreference\Plugin\Field\FieldFormatter\ViewsReferenceFieldFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ ViewsReferenceFieldFormatter.php, line 24
Class
- ViewsReferenceFieldFormatter
- Field formatter for Viewsreference Field.
Namespace
Drupal\viewsreference\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
$options = parent::defaultSettings();
$options['plugin_types'] = [
'block',
];
return $options;
}