first import
This commit is contained in:
21
sites/all/modules/insert/includes/file.inc
Normal file
21
sites/all/modules/insert/includes/file.inc
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Insert support for File module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implementation of hook_insert_widgets().
|
||||
*/
|
||||
function file_insert_widgets() {
|
||||
return array(
|
||||
'file_generic' => array(
|
||||
'element_type' => 'managed_file',
|
||||
'wrapper' => '.file-widget',
|
||||
'fields' => array(
|
||||
'description' => 'input[name$="[description]"]',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user