function fft_get_field_types in Field Formatter Template 8.2
Same name and namespace in other branches
- 8 fft.module \fft_get_field_types()
Get all available field type.
Return value
array Return array.
1 call to fft_get_field_types()
- fft_field_formatter_info_alter in ./
fft.module - Implements hook_field_formatter_info_alter().
File
- ./
fft.module, line 332 - Field formatter template.
Code
function fft_get_field_types() {
return array_keys(\Drupal::service('plugin.manager.field.field_type')
->getDefinitions());
}