You are here

function panopoly_widgets_field_widget_info in Panopoly Widgets 7

Implements hook_field_widget_info().

File

./panopoly_widgets.spotlight.inc, line 48
A specification for the custom spotlight entity that is part of Panopoly Widgets

Code

function panopoly_widgets_field_widget_info() {
  return array(
    'panopoly_spotlight_form' => array(
      'label' => t('Spotlight'),
      'field types' => array(
        'panopoly_spotlight',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
  );
}