You are here

public static function ImageHotspotsFormatter::defaultSettings in Image Hotspots 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides ImageFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/ImageHotspotsFormatter.php, line 86

Class

ImageHotspotsFormatter
Plugin implementation of the 'image_with_hotspots' formatter.

Namespace

Drupal\image_hotspots\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'image_hotspots_style' => 'tootip',
  ] + parent::defaultSettings();
}