public static function SocialLinkBaseFormatter::defaultSettings in Social Link Field 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
2 calls to SocialLinkBaseFormatter::defaultSettings()
- SocialLinkFontAwesomeFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ SocialLinkFontAwesomeFormatter.php - Defines the default settings for this plugin.
- SocialLinkNetworkNameFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ SocialLinkNetworkNameFormatter.php - Defines the default settings for this plugin.
2 methods override SocialLinkBaseFormatter::defaultSettings()
- SocialLinkFontAwesomeFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ SocialLinkFontAwesomeFormatter.php - Defines the default settings for this plugin.
- SocialLinkNetworkNameFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ SocialLinkNetworkNameFormatter.php - Defines the default settings for this plugin.
File
- src/
Plugin/ Field/ FieldFormatter/ SocialLinkBaseFormatter.php, line 59
Class
- SocialLinkBaseFormatter
- Base class for 'Field formatter' plugin implementations.
Namespace
Drupal\social_link_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'new_tab' => TRUE,
] + parent::defaultSettings();
}