You are here

function nodereferrer_widget_info in NodeReferrer 6

Same name and namespace in other branches
  1. 5 nodereferrer.module \nodereferrer_widget_info()

Implementation of hook_widget_info().

File

./nodereferrer.module, line 335
Defines a field type for backlinking referencing nodes.

Code

function nodereferrer_widget_info() {
  return array(
    'nodereferrer_list' => array(
      'label' => t('Read-Only List'),
      'field types' => array(
        'nodereferrer',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_NONE,
      ),
    ),
  );
}