You are here

function userreference_field_info in Content Construction Kit (CCK) 5

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

Implementation of hook_field_info().

File

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

Code

function userreference_field_info() {
  return array(
    'userreference' => array(
      'label' => t('User Reference'),
    ),
  );
}