You are here

public static function MinisiteFormatter::defaultSettings in Mini site 8

Defines the default settings for this plugin.

Return value

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

Overrides DescriptionAwareFileFormatterBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/MinisiteFormatter.php, line 39

Class

MinisiteFormatter
Plugin implementation of the 'minisite' formatter.

Namespace

Drupal\minisite\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'minisite_link' => self::LINK_TO_CONTENT,
  ] + parent::defaultSettings();
}