function _allowed_formats_field_types in Allowed Formats 8
Define what field types we want to modify.
Return value
array Array of modifiable field types.
3 calls to _allowed_formats_field_types()
- allowed_formats_field_widget_form_alter in ./
allowed_formats.module - Implements hook_field_widget_form_alter().
- allowed_formats_field_widget_third_party_settings_form in ./
allowed_formats.module - Implements hook_field_widget_third_party_settings_form().
- allowed_formats_form_field_config_edit_form_alter in ./
allowed_formats.module - Implements hook_form_FORM_ID_form_alter().
File
- ./
allowed_formats.module, line 132 - This is the allowed_formats module.
Code
function _allowed_formats_field_types() {
return [
'text',
'text_long',
'text_with_summary',
];
}