public static function YamlFormEntityReferenceLinkFormatter::defaultSettings in YAML Form 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/ YamlFormEntityReferenceLinkFormatter.php, line 91
Class
- YamlFormEntityReferenceLinkFormatter
- Plugin implementation of the 'Link to form' formatter.
Namespace
Drupal\yamlform\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'label' => 'Go to [yamlform:title] form',
] + parent::defaultSettings();
}