You are here

function taxonomy_container_field_widget_info in Taxonomy container 7

Implements hook_field_widget_info().

File

./taxonomy_container.module, line 11
Allows users to organize containers using taxonomy terms.

Code

function taxonomy_container_field_widget_info() {
  return array(
    'taxonomy_container' => array(
      'label' => t('Select list (with groups)'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
      ),
      'settings' => array(
        'multiple_select_size' => 5,
        'prefix' => '-',
      ),
    ),
  );
}