telephone_field_formatter_info_alter
function 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'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!telephone!telephone.module/function/telephone_field_formatter_info_alter/8.1.x