You are here

function rolereference_field_formatter_info in Role Reference 7

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

Implements hook_field_formatter_info().

File

./rolereference.module, line 151

Code

function rolereference_field_formatter_info() {
  $ret = array(
    'rolereference_default' => array(
      'label' => t('Title'),
      'description' => t('Display the title of the referenced role.'),
      'field types' => array(
        'rolereference',
      ),
    ),
    'rolereference_rid' => array(
      'label' => t('rid'),
      'description' => t('Display the Role ID of the referenced role.'),
      'field types' => array(
        'rolereference',
      ),
    ),
  );
  return $ret;
}