You are here

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

Class

LinkShort
Plugin annotation @FieldFormatter( id = "shrinktheweb_link_short", label = @Translation("[ShrinkTheWeb] Short as link with title 'Link'"), 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();
}