function hook_textformatter_field_info_alter in Text list formatter 7
Same name and namespace in other branches
- 8.2 textformatter.api.php \hook_textformatter_field_info_alter()
hook_textformatter_field_list_info_alter().
Parameters
$info: An array of info as declared by hook_textformatter_field_list_info() to alter passed by reference.
1 invocation of hook_textformatter_field_info_alter()
- textformatter_field_list_info in ./
textformatter.module - Wrapper function for invoking hook_textformatter_field_list_info.
File
- ./
textformatter.api.php, line 57 - Describes hooks provided by the textformatter module.
Code
function hook_textformatter_field_info_alter(&$info) {
// Change the callback used for fields from the text module.
$info['text']['callback'] = 'textformatter_example_text_callback';
}