You are here

public static function TitleStyleTextFieldFormatter::defaultSettings in Title Field for Manage Display 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/TitleStyleTextFieldFormatter.php \Drupal\title_field_for_manage_display\Plugin\Field\FieldFormatter\TitleStyleTextFieldFormatter::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/TitleStyleTextFieldFormatter.php, line 90

Class

TitleStyleTextFieldFormatter
Plugin implementation of the 'title_style_text_field_formatter' formatter.

Namespace

Drupal\title_field_for_manage_display\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'tag' => 'h2',
    'linked' => '1',
    'classes' => '',
  ];
}