function hook_media_internet_providers in D7 Media 7
Same name and namespace in other branches
- 7.4 modules/media_internet/media_internet.api.php \hook_media_internet_providers()
- 7.2 modules/media_internet/media_internet.api.php \hook_media_internet_providers()
- 7.3 modules/media_internet/media_internet.api.php \hook_media_internet_providers()
Implementors return an multidim array, keyed by a class name with the following elements:
- title
- image (optional)
- hidden: bool If the logo should be shown on form. (optional)
- weight (optional)
1 function implements hook_media_internet_providers()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- media_internet_media_internet_providers in modules/
media_internet/ media_internet.media.inc - Implements hook_media_internet_providers();
1 invocation of hook_media_internet_providers()
- media_internet_get_providers in modules/
media_internet/ media_internet.module - Gets the list of providers.
File
- modules/
media_internet/ media_internet.api.php, line 17 - Hooks provided by the media_internet module.
Code
function hook_media_internet_providers() {
return array(
'youtube' => array(
'title' => 'youtube',
'image' => 'youtube.jpg',
),
);
}