You are here

function entityqueue_field_widget_info in Entityqueue 7

Implements hook_field_widget_info().

File

./entityqueue.module, line 870
Allows users to collect entities in arbitrarily ordered lists.

Code

function entityqueue_field_widget_info() {
  return array(
    'entityqueue_dragtable' => array(
      'label' => t('Draggable table'),
      'field types' => array(
        'entityreference',
      ),
      'settings' => array(
        'match_operator' => 'CONTAINS',
        'size' => 60,
        'add_position' => 'bottom',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
      ),
    ),
  );
}