You are here

public static function LinkSeparate::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/LinkSeparate.php, line 21

Class

LinkSeparate
Plugin annotation @FieldFormatter( id = "shrinktheweb_link_separate", label = @Translation("[ShrinkTheWeb] Separate title and URL"), field_types = {"link"} )

Namespace

Drupal\shrinktheweb\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'custom_width' => '',
    'full_length' => '',
    'max_height' => '',
    'native_resolution' => '',
    'widescreen_resolution_y' => '',
    'delay' => '',
    'quality' => '',
  ) + parent::defaultSettings();
}