public static function LinkDefault::defaultSettings in ShrinkTheWeb 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/ LinkDefault.php, line 21
Class
- LinkDefault
- Plugin annotation @FieldFormatter( id = "shrinktheweb_link_default", label = @Translation("[ShrinkTheWeb] Title as link"), field_types = {"link"} )
Namespace
Drupal\shrinktheweb\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'custom_width' => '',
'full_length' => '',
'max_height' => '',
'native_resolution' => '',
'widescreen_resolution_y' => '',
'delay' => '',
'quality' => '',
) + parent::defaultSettings();
}