You are here

public static function EntityReferenceFacetFormatterBase::defaultSettings in Entity Reference Facet Link 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/EntityReferenceFacetFormatterBase.php, line 101

Class

EntityReferenceFacetFormatterBase

Namespace

Drupal\entity_reference_facet_link\Plugin\Field\FieldFormatter

Code

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