function telephone_field_formatter_info_alter

Same name in other branches
  1. 9 core/modules/telephone/telephone.module \telephone_field_formatter_info_alter()
  2. 10 core/modules/telephone/telephone.module \telephone_field_formatter_info_alter()
  3. 11.x core/modules/telephone/telephone.module \telephone_field_formatter_info_alter()

Implements hook_field_formatter_info_alter().

File

core/modules/telephone/telephone.module, line 34

Code

function telephone_field_formatter_info_alter(&$info) {
    $info['string']['field_types'][] = 'telephone';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.