Mercurial > hg > rr-repo
comparison sites/all/modules/insert/includes/file.inc @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff03f76ab3fe |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * Insert support for File module. | |
6 */ | |
7 | |
8 /** | |
9 * Implementation of hook_insert_widgets(). | |
10 */ | |
11 function file_insert_widgets() { | |
12 return array( | |
13 'file_generic' => array( | |
14 'element_type' => 'managed_file', | |
15 'wrapper' => '.file-widget', | |
16 'fields' => array( | |
17 'description' => 'input[name$="[description]"]', | |
18 ), | |
19 ), | |
20 ); | |
21 } |