function rolereference_field_formatter_info in Role Reference 5
Same name and namespace in other branches
- 6 rolereference.module \rolereference_field_formatter_info()
- 7 rolereference.module \rolereference_field_formatter_info()
Implementation of hook_field_formatter_info().
File
- ./
rolereference.module, line 65 - Defines a field type for referencing a role.
Code
function rolereference_field_formatter_info() {
return array(
'default' => array(
'label' => 'Default',
'field types' => array(
'rolereference',
),
),
'plain' => array(
'label' => 'Plain text',
'field types' => array(
'rolereference',
),
),
);
}