function hook_media_browser_plugin_info_alter in D7 Media 7.3
Same name and namespace in other branches
- 7.4 media.api.php \hook_media_browser_plugin_info_alter()
- 7.2 media.api.php \hook_media_browser_plugin_info_alter()
Alter the list of plugins for the media browser.
Parameters
array $info: The associative array of media browser plugin definitions from hook_media_browser_plugin_info().
See also
hook_media_browser_plugin_info()
media_get_browser_plugin_info()
2 functions implement hook_media_browser_plugin_info_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- media_bulk_upload_media_browser_plugin_info_alter in modules/
media_bulk_upload/ media_bulk_upload.module - Implements hook_media_browser_plugin_info_alter().
- media_module_test_media_browser_plugin_info_alter in tests/
media_module_test.module - Implements hook_media_browser_plugin_info_alter().
1 invocation of hook_media_browser_plugin_info_alter()
- media_get_browser_plugin_info in ./
media.module - Returns metadata describing Media browser plugins.
File
- ./
media.api.php, line 104 - Hooks provided by the Media module.
Code
function hook_media_browser_plugin_info_alter(&$info) {
$info['media_upload']['title'] = t('Upload 2.0');
$info['media_upload']['class'] = 'MediaBrowserUploadImproved';
}