Révision ba3b3627
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/media/media.api.php | ||
---|---|---|
135 | 135 |
$stored_params['types'][] = 'document'; |
136 | 136 |
unset($stored_params['enabledPlugins'][0]); |
137 | 137 |
} |
138 |
|
|
139 |
/** |
|
140 |
* |
|
141 |
* Alter the media multiple elements widget |
|
142 |
* |
|
143 |
* @param $table |
|
144 |
* the table of elements that will be rendered via theme_table() |
|
145 |
* @param $element |
|
146 |
* elements that are actually attached |
|
147 |
* |
|
148 |
* @see theme_media_widget_multiple() |
|
149 |
*/ |
|
150 |
function hook_media_widget_multiple_alter(&$table, &$element) { |
|
151 |
$table['attributes']['class'][] = 'myclass'; |
|
152 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules