function LinkSeparateFormatter::defaultSettings
Overrides LinkFormatter::defaultSettings
File
-
core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkSeparateFormatter.php, line 29
Class
- LinkSeparateFormatter
- Plugin implementation of the 'link_separate' formatter.
Namespace
Drupal\link\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'trim_length' => 80,
'rel' => '',
'target' => '',
] + parent::defaultSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.