function AggregatorTitleFormatter::defaultSettings

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.