You are here

function filefield_insert_widgets in Insert 6

Implementation of hook_insert_widgets().

File

includes/filefield.inc, line 11
Insert support for FileField module.

Code

function filefield_insert_widgets() {
  return array(
    'filefield_widget' => array(
      'wrapper' => '.filefield-element',
      'fields' => array(
        'description' => 'input[name$="[description]"]',
      ),
    ),
  );
}