You are here

function fontawesome_iconpicker_field_formatter_info in Font Awesome Iconpicker 7

Implements hook_field_formatter_info().

File

./fontawesome_iconpicker.module, line 190
Integrates fontawesome-iconpicker plugin with Drupal.

Code

function fontawesome_iconpicker_field_formatter_info() {
  $info = array(
    'fontawesome_iconpicker_icon' => array(
      'label' => t('Font Awesome Icon'),
      'field types' => array(
        'text',
        'icon_field',
      ),
      'description' => t('Displays the selected Font Awesome icon.'),
      'settings' => array(
        'size' => '1x',
      ),
    ),
  );
  return $info;
}