You are here

private function FontawesomeIconpicker::getIconPickerTypes in Font Awesome Iconpicker 8

Get Supported Icon Picker Types.

1 call to FontawesomeIconpicker::getIconPickerTypes()
FontawesomeIconpicker::settingsForm in src/Plugin/Field/FieldWidget/FontawesomeIconpicker.php
Returns a form to configure settings for the widget.

File

src/Plugin/Field/FieldWidget/FontawesomeIconpicker.php, line 146

Class

FontawesomeIconpicker
Plugin implementation of the 'fontawesome_iconpicker' widget.

Namespace

Drupal\fontawesome_iconpicker\Plugin\Field\FieldWidget

Code

private function getIconPickerTypes() {
  return [
    'default' => $this
      ->t('Default'),
    'component' => $this
      ->t('As a bootstrap component'),
    'input_search' => $this
      ->t('Input as a search box'),
  ];
}