You are here

function nodereferrer_field_widget_info in NodeReferrer 7

Implementation of hook_field_widget_info().

File

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

Code

function nodereferrer_field_widget_info() {
  return array(
    'nodereferrer_list' => array(
      'label' => t('Read-Only List'),
      'field types' => array(
        'nodereferrer',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}