You are here

public static function FieldCollectionTabsFormatter::defaultSettings in Field Collection Tab formatter 8

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/FieldCollectionTabsFormatter.php, line 75

Class

FieldCollectionTabsFormatter
Plugin implementation of the 'tabs' formatter.

Namespace

Drupal\field_collection_tabs\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'title_field' => FALSE,
    'view_mode' => FALSE,
  ] + parent::defaultSettings();
}