public static function AnalyticsFormatter::defaultSettings in Facebook Instant Articles 8.2
Same name and namespace in other branches
- 3.x src/Plugin/Field/FieldFormatter/AnalyticsFormatter.php \Drupal\fb_instant_articles\Plugin\Field\FieldFormatter\AnalyticsFormatter::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 AnalyticsFormatter::defaultSettings()
- AnalyticsLinkFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ AnalyticsLinkFormatter.php - Defines the default settings for this plugin.
1 method overrides AnalyticsFormatter::defaultSettings()
- AnalyticsLinkFormatter::defaultSettings in src/
Plugin/ Field/ FieldFormatter/ AnalyticsLinkFormatter.php - Defines the default settings for this plugin.
File
- src/
Plugin/ Field/ FieldFormatter/ AnalyticsFormatter.php, line 29
Class
- AnalyticsFormatter
- Plugin implementation of the 'fbia_analytics' formatter.
Namespace
Drupal\fb_instant_articles\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'source_type' => self::SOURCE_TYPE_URL,
] + parent::defaultSettings();
}