telephone_field_formatter_info_alter

telephone_field_formatter_info_alter(&$info)

Implements hook_field_formatter_info_alter().

File

core/modules/telephone/telephone.module, line 33
Defines a simple telephone number field type.

Code

function telephone_field_formatter_info_alter(&$info) {
  $info['string']['field_types'][] = 'telephone';
}
doc_Drupal
2016-10-29 09:46:37
Comments
Leave a Comment

Please login to continue.