public static function EntityReferenceExportFormatter::defaultSettings in REST Views 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/EntityReferenceExportFormatter.php \Drupal\rest_views\Plugin\Field\FieldFormatter\EntityReferenceExportFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceEntityFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ EntityReferenceExportFormatter.php, line 117
Class
- EntityReferenceExportFormatter
- A plugin that creates a serializable form of a rendered entity.
Namespace
Drupal\rest_views\Plugin\Field\FieldFormatterCode
public static function defaultSettings() : array {
return [
'extra' => [],
] + parent::defaultSettings();
}