projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6ae86a43e008943f7894d4f7893f32b3b7fd82a6
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d8
/
hook
/
field_formatter_info_alter.twig
1
/**
2
* Implements hook_field_formatter_info_alter().
3
*/
4
function {{ machine_name }}_field_formatter_info_alter(array &$info) {
5
// Let a new field type re-use an existing formatter.
6
$info['text_default']['field_types'][] = 'my_field_type';
7
}