root / drupal7 / sites / all / modules / media / modules / media_internet / media_internet.api.php @ ca0757b9
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Hooks provided by the media_internet module.
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
* Implements hook_media_internet_providers().
|
10 |
*
|
11 |
* Implementors return an multidim array, keyed by a class name with the
|
12 |
* following elements:
|
13 |
* - title
|
14 |
* - image (optional)
|
15 |
* - hidden: bool If the logo should be shown on form. (optional)
|
16 |
* - weight (optional)
|
17 |
*/
|
18 |
function hook_media_internet_providers() { |
19 |
return array( |
20 |
'youtube' => array( |
21 |
'title' => 'youtube', |
22 |
'image' => 'youtube.jpg', |
23 |
), |
24 |
); |
25 |
} |