You are here

function linkicon_field_info_alter in Link Icon 8

Same name and namespace in other branches
  1. 7 linkicon.module \linkicon_field_info_alter()

Implements hook_field_info_alter().

File

./linkicon.module, line 53
A link field formatter to create icon classes based on predefined titles.

Code

function linkicon_field_info_alter(&$info) {
  if (isset($info['link'])) {
    $info['link']['class'] = '\\Drupal\\linkicon\\LinkIconItem';
  }
}