You are here

public static function EntityListTrait::defaultSettings in Formatter Suite 8

1 call to EntityListTrait::defaultSettings()
EntityListTrait::sanitizeListSettings in src/Plugin/Field/FieldFormatter/EntityListTrait.php
Check current settings and insure they make sense.

File

src/Plugin/Field/FieldFormatter/EntityListTrait.php, line 56

Class

EntityListTrait
Formats multiple fields as a list.

Namespace

Drupal\formatter_suite\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array_merge([
    'listStyle' => 'span',
    'listSeparator' => ',',
  ], parent::defaultSettings());
}