You are here

public static function AuthorReferenceFormatter::defaultSettings in Facebook Instant Articles 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/AuthorReferenceFormatter.php \Drupal\fb_instant_articles\Plugin\Field\FieldFormatter\AuthorReferenceFormatter::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

src/Plugin/Field/FieldFormatter/AuthorReferenceFormatter.php, line 30

Class

AuthorReferenceFormatter
Plugin implementation of the 'fbia_author_reference' formatter.

Namespace

Drupal\fb_instant_articles\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'link' => TRUE,
  ] + parent::defaultSettings();
}