You are here

function emfield_field_widget_info in Embedded Media Field 7

Implements hook_field_widget_info().

File

./emfield.module, line 6

Code

function emfield_field_widget_info() {
  return array(
    'enfield_widget' => array(
      'label' => t('Embedded media field'),
      'field types' => array(
        'file',
      ),
      'settings' => array(
        'size' => 60,
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
  );
}