You are here

public static function EpubCoverImage::defaultSettings in Epub 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/EpubCoverImage.php, line 81
Contains \Drupal\epub\Plugin\Field\FieldFormatter\EpubCoverImage.

Class

EpubCoverImage
Plugin implementation of the 'epub' formatter.

Namespace

Drupal\epub\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $settings['width'] = '100%';
  return $settings;
}