1 node_type_example.module | node_type_example_field_formatter_info() |
Implements hook_field_formatter_info().
Related topics
File
- modules/
examples/ node_type_example/ node_type_example.module, line 164 - Hook implementations for the Node Type Example module.
Code
function node_type_example_field_formatter_info() {
return array(
'node_type_example_colors' => array(
'label' => t('Node color handle'),
'field types' => array('text'),
),
);
}