You are here

function nodereference_field_info in Content Construction Kit (CCK) 5

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

Implementation of hook_field_info().

File

./nodereference.module, line 26
Defines a field type for referencing one node from another.

Code

function nodereference_field_info() {
  return array(
    'nodereference' => array(
      'label' => t('Node Reference'),
    ),
  );
}