You are here

function rolereference_field_info in Role Reference 6

Same name and namespace in other branches
  1. 5 rolereference.module \rolereference_field_info()
  2. 7 rolereference.module \rolereference_field_info()

Implementation of hook_field_info().

File

./rolereference.module, line 64
Defines a field type for referencing a role. Based almost entirely on nodereference and userreference modules.

Code

function rolereference_field_info() {
  return array(
    'rolereference' => array(
      'label' => t('Role reference'),
      'description' => t('Store the ID of a role as an integer value.'),
    ),
  );
}