public static function SkypeUriFormatter::defaultSettings in Skype 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/ SkypeUriFormatter.php, line 25
Class
- SkypeUriFormatter
- Plugin implementation of the 'skype_button' formatter.
Namespace
Drupal\skype\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'link_text' => t('Skype me'),
'action' => 'call',
] + parent::defaultSettings();
}