You are here

function linkicon_field_info_alter in Link Icon 7

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

Implements hook_field_info_alter().

File

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

Code

function linkicon_field_info_alter(&$info) {
  if (isset($info['link_field'])) {
    $info['link_field']['settings']['title_predefined'] = '';
    $info['link_field']['instance_settings']['title_predefined'] = '';
  }
}