You are here

public static function FontAwesomeIconFormatter::defaultSettings in Font Awesome Icons 8.2

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/FontAwesomeIconFormatter.php, line 103

Class

FontAwesomeIconFormatter
Implementation of Font Awesome icon formatter.

Namespace

Drupal\fontawesome\Plugin\Field\FieldFormatter

Code

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