public static function LinkClassFormatter::defaultSettings in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/social_features/social_core/src/Plugin/Field/FieldFormatter/LinkClassFormatter.php \Drupal\social_core\Plugin\Field\FieldFormatter\LinkClassFormatter::defaultSettings()
- 10.3.x modules/social_features/social_core/src/Plugin/Field/FieldFormatter/LinkClassFormatter.php \Drupal\social_core\Plugin\Field\FieldFormatter\LinkClassFormatter::defaultSettings()
- 10.0.x modules/social_features/social_core/src/Plugin/Field/FieldFormatter/LinkClassFormatter.php \Drupal\social_core\Plugin\Field\FieldFormatter\LinkClassFormatter::defaultSettings()
- 10.1.x modules/social_features/social_core/src/Plugin/Field/FieldFormatter/LinkClassFormatter.php \Drupal\social_core\Plugin\Field\FieldFormatter\LinkClassFormatter::defaultSettings()
- 10.2.x modules/social_features/social_core/src/Plugin/Field/FieldFormatter/LinkClassFormatter.php \Drupal\social_core\Plugin\Field\FieldFormatter\LinkClassFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides LinkFormatter::defaultSettings
File
- modules/
social_features/ social_core/ src/ Plugin/ Field/ FieldFormatter/ LinkClassFormatter.php, line 25
Class
- LinkClassFormatter
- Plugin implementation of the 'link' formatter.
Namespace
Drupal\social_core\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return parent::defaultSettings() + [
'class' => '',
];
}