You are here

function backgroundfield_field_widget_info in BackgroundField 7

Implements hook_field_widget_info()

File

./backgroundfield.module, line 209

Code

function backgroundfield_field_widget_info() {
  return array(
    'backgroundfield_widget' => array(
      'label' => t('Background Field'),
      'field types' => array(
        'backgroundfield',
      ),
      'description' => t('Allows users to apply a background image to a field defined css selector'),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}