function TelephoneHooks::fieldFormatterInfoAlter
Implements hook_field_formatter_info_alter().
File
-
core/
modules/ telephone/ src/ Hook/ TelephoneHooks.php, line 51
Class
- TelephoneHooks
- Hook implementations for telephone.
Namespace
Drupal\telephone\HookCode
public function fieldFormatterInfoAlter(&$info) {
$info['string']['field_types'][] = 'telephone';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.