You are here

public static function SearchApiExcludeEntityFormatter::defaultSettings in Search API Exclude Entity 8

Defines the default settings for this plugin.

Return value

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

Overrides BooleanFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/SearchApiExcludeEntityFormatter.php, line 24

Class

SearchApiExcludeEntityFormatter
Plugin implementation of the 'search_api_exclude_entity_formatter' formatter.

Namespace

Drupal\search_api_exclude_entity\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $settings = parent::defaultSettings();
  $settings['format'] = 'yes-no';
  return $settings;
}