public static function EpubFormatterBase::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/ EpubFormatterBase.php, line 68 - Contains \Drupal\epub\Plugin\Field\FieldFormatter\EpubFormatterBase.
Class
- EpubFormatterBase
- Plugin implementation of the 'epub' formatter.
Namespace
Drupal\epub\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
$settings['width'] = '100%';
$settings['height'] = 'auto';
return $settings;
}