function hook_media_browser_plugins_alter

cis7 media.api.php hook_media_browser_plugins_alter(&$plugin_output)
cle7 media.api.php hook_media_browser_plugins_alter(&$plugin_output)
elmsmedia7 media.api.php hook_media_browser_plugins_alter(&$plugin_output)
icor7 media.api.php hook_media_browser_plugins_alter(&$plugin_output)
meedjum_blog7 media.api.php hook_media_browser_plugins_alter(&$plugin_output)
mooc7 media.api.php hook_media_browser_plugins_alter(&$plugin_output)

Alter the plugins before they are rendered.

Parameters

array $plugin_output: The associative array of media browser plugin information from media_get_browser_plugin_info().

See also

hook_media_browser_plugin_info()

media_get_browser_plugin_info()

1 invocation of hook_media_browser_plugins_alter()
media_browser in sites/all/modules/ulmus/media/includes/media.browser.inc
Media browser page callback.

File

sites/all/modules/ulmus/media/media.api.php, line 87
Hooks provided by the Media module.

Code

function hook_media_browser_plugins_alter(&$plugin_output) {
  $plugin_output['upload']['form']['upload']['#title'] = t('Upload 2.0');
  $plugin_output['media_internet']['form']['embed_code']['#size'] = 100;
}