public static function InteractiveFormatter::defaultSettings in Facebook Instant Articles 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/InteractiveFormatter.php \Drupal\fb_instant_articles\Plugin\Field\FieldFormatter\InteractiveFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
1 call to InteractiveFormatter::defaultSettings()
- InteractiveLinkFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ InteractiveLinkFormatter.php - Defines the default settings for this plugin.
1 method overrides InteractiveFormatter::defaultSettings()
- InteractiveLinkFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ InteractiveLinkFormatter.php - Defines the default settings for this plugin.
File
- src/
Plugin/ Field/ FieldFormatter/ InteractiveFormatter.php, line 29
Class
- InteractiveFormatter
- Plugin implementation of the 'fbia_interactive' formatter.
Namespace
Drupal\fb_instant_articles\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'source_type' => self::SOURCE_TYPE_URL,
'width' => NULL,
'height' => NULL,
'margin' => Interactive::NO_MARGIN,
] + parent::defaultSettings();
}