You are here

public static function OpignoTftFormatter::defaultSettings in Opigno module 3.x

Same name and namespace in other branches
  1. 8 ActivityTypes/opigno_video/src/Plugin/Field/FieldFormatter/OpignoTftFormatter.php \Drupal\opigno_video\Plugin\Field\FieldFormatter\OpignoTftFormatter::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

File

ActivityTypes/opigno_video/src/Plugin/Field/FieldFormatter/OpignoTftFormatter.php, line 30

Class

OpignoTftFormatter
Plugin implementation of the 'opigno_tft_formatter' formatter.

Namespace

Drupal\opigno_video\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'width' => 220,
    'height' => 220,
  ] + parent::defaultSettings();
}