You are here

function file_insert_widgets in Insert 7

Implementation of hook_insert_widgets().

File

includes/file.inc, line 11
Insert support for File module.

Code

function file_insert_widgets() {
  return array(
    'file_generic' => array(
      'element_type' => 'managed_file',
      'wrapper' => '.file-widget',
      'fields' => array(
        'description' => 'input[name$="[description]"]',
      ),
    ),
  );
}