public static function TelephoneLinkFormatter::defaultSettings in Drupal 10
Same name and namespace in other branches
- 8 core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php \Drupal\telephone\Plugin\Field\FieldFormatter\TelephoneLinkFormatter::defaultSettings()
- 9 core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php \Drupal\telephone\Plugin\Field\FieldFormatter\TelephoneLinkFormatter::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
- core/
modules/ telephone/ src/ Plugin/ Field/ FieldFormatter/ TelephoneLinkFormatter.php, line 26
Class
- TelephoneLinkFormatter
- Plugin implementation of the 'telephone_link' formatter.
Namespace
Drupal\telephone\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'title' => '',
] + parent::defaultSettings();
}