You are here

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

Class

LinkPlain
Plugin annotation @FieldFormatter( id = "shrinktheweb_link_plain", label = @Translation("[ShrinkTheWeb] URL as plain text"), 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();
}