function relation_add_field_widget_info in Relation add 7
Implements hook_field_widget_info().
File
- ./
relation_add.module, line 608  - Relation Add module file.
 
Code
function relation_add_field_widget_info() {
  return array(
    'relation_add' => array(
      'label' => t('Relation add widget'),
      'field types' => array(
        'relation_add',
      ),
      'behaviors' => array(
        // To tell field API to not display the base default value widget
        // we provide our own.
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}