You are here

public static function LinkIconFormatterTrait::defaultSettings in Link Icon 8

File

src/Plugin/Field/FieldFormatter/LinkIconFormatterTrait.php, line 16

Class

LinkIconFormatterTrait
A Trait to decluter the main formatter class for readability.

Namespace

Drupal\linkicon\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'rel' => '',
    'target' => '',
    'linkicon_prefix' => 'icon',
    'linkicon_icon_class' => '',
    'linkicon_wrapper_class' => '',
    'linkicon_load' => FALSE,
    'linkicon_vertical' => FALSE,
    'linkicon_style' => '',
    'linkicon_color' => '',
    'linkicon_tooltip' => FALSE,
    'linkicon_maxlength' => 60,
    'linkicon_no_text' => FALSE,
    'linkicon_position' => '',
    'linkicon_link' => FALSE,
    'linkicon_global_title' => '',
    'linkicon_size' => '',
    'linkicon_bundle' => '',
  ] + parent::defaultSettings();
}