public static function ViewsFieldFormatter::defaultSettings in Views field formatter 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/ViewsFieldFormatter.php \Drupal\views_field_formatter\Plugin\Field\FieldFormatter\ViewsFieldFormatter::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/ ViewsFieldFormatter.php, line 77
Class
- ViewsFieldFormatter
- Class ViewsFieldFormatter.
Namespace
Drupal\views_field_formatter\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'view' => '',
'arguments' => [
'field_value' => [
'checked' => TRUE,
],
'entity_id' => [
'checked' => TRUE,
],
'delta' => [
'checked' => TRUE,
],
'entity_revision_id' => [
'checked' => TRUE,
],
],
'hide_empty' => FALSE,
'multiple' => FALSE,
'implode_character' => '',
];
}