You are here

public static function RoyalSliderFormatter::defaultSettings in RoyalSlider Integration 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/RoyalSliderFormatter.php, line 93
Contains \Drupal\royalslider\Plugin\Field\FieldFormatter\RoyalSliderFormatter.

Class

RoyalSliderFormatter
Plugin implementation of the 'royalslider' formatter.

Namespace

Drupal\royalslider\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'royalslider_optionset' => '',
  ) + parent::defaultSettings();
}