public static function EntityReferenceRevisionsEntityFormatter::defaultSettings in Entity Reference Revisions 8
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/ EntityReferenceRevisionsEntityFormatter.php, line 89
Class
- EntityReferenceRevisionsEntityFormatter
- Plugin implementation of the 'entity reference rendered entity' formatter.
Namespace
Drupal\entity_reference_revisions\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'view_mode' => 'default',
'link' => FALSE,
) + parent::defaultSettings();
}