Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/media/modules/media_internet/includes/MediaBrowserInternet.inc | ||
---|---|---|
20 | 20 |
* Implements MediaBrowserPlugin::view(). |
21 | 21 |
*/ |
22 | 22 |
public function view() { |
23 |
module_load_include('inc', 'media_internet', 'media_internet.pages'); |
|
24 |
$build['form'] = drupal_get_form('media_internet_add', $this->params['types'], $this->params['multiselect']); |
|
23 |
module_load_include('inc', 'file_entity', 'file_entity.pages'); |
|
24 |
|
|
25 |
$build = array(); |
|
26 |
$params = $this->params; |
|
27 |
$params['internet_media'] = TRUE; |
|
28 |
$build['form'] = drupal_get_form('media_internet_add_upload', $params); |
|
29 |
|
|
25 | 30 |
return $build; |
26 | 31 |
} |
27 | 32 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules