You are here

public static function AggregatorTitleFormatter::defaultSettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorTitleFormatter.php \Drupal\aggregator\Plugin\Field\FieldFormatter\AggregatorTitleFormatter::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

core/modules/aggregator/src/Plugin/Field/FieldFormatter/AggregatorTitleFormatter.php, line 28

Class

AggregatorTitleFormatter
Plugin implementation of the 'aggregator_title' formatter.

Namespace

Drupal\aggregator\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $options = parent::defaultSettings();
  $options['display_as_link'] = TRUE;
  return $options;
}