You are here

function hs_taxonomy_field_widget_info in Hierarchical Select 7.3

Implements hook_field_widget_info().

File

modules/hs_taxonomy.module, line 249
Implementation of the Hierarchical Select API for the Taxonomy module.

Code

function hs_taxonomy_field_widget_info() {
  return array(
    'taxonomy_hs' => array(
      'label' => t('Hierarchical Select'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
      'settings' => array(),
      // All set in hs_taxonomy_field_widget_form().
      'behaviors' => array(
        // TODO: figure out how to map the "dropbox" behavior to Field API's
        // "multiple values" system.
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
      ),
    ),
  );
}