You are here

function userreference_field_formatter_info in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 5 userreference.module \userreference_field_formatter_info()
  2. 6.3 modules/userreference/userreference.module \userreference_field_formatter_info()
  3. 6.2 modules/userreference/userreference.module \userreference_field_formatter_info()

Implementation of hook_field_formatter_info().

File

modules/userreference/userreference.module, line 142
Defines a field type for referencing a user from a node.

Code

function userreference_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Default'),
      'field types' => array(
        'userreference',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'plain' => array(
      'label' => t('Plain text'),
      'field types' => array(
        'userreference',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}