You are here

function term_level_field_widget_info in Term Level Field 7

Implements hook_field_widget_info().

File

./term_level.module, line 229
Field type for referencing terms with a level to an entity.

Code

function term_level_field_widget_info() {
  return array(
    'term_level_widget' => array(
      'label' => t('Term Level Widget'),
      'field types' => array(
        'term_level',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
      ),
      'settings' => array(
        'tag_cloud' => FALSE,
        'term_entries_limit_per_group' => FIELD_CARDINALITY_UNLIMITED,
        'validate_empty_terms' => FALSE,
      ),
    ),
  );
}