function media_get_browser_plugin_info

cis7 media.module media_get_browser_plugin_info()
cle7 media.module media_get_browser_plugin_info()
elmsmedia7 media.module media_get_browser_plugin_info()
icor7 media.module media_get_browser_plugin_info()
meedjum_blog7 media.module media_get_browser_plugin_info()
mooc7 media.module media_get_browser_plugin_info()

Returns metadata describing Media browser plugins.

See also

hook_media_browser_plugin_info()

hook_media_browser_plugin_info_alter()

3 calls to media_get_browser_plugin_info()
media_admin_config_browser in sites/all/modules/ulmus/media/includes/media.admin.inc
Admin configruation form for media browser settings.
media_browser in sites/all/modules/ulmus/media/includes/media.browser.inc
Media browser page callback.
media_field_widget_settings_form in sites/all/modules/ulmus/media/includes/media.fields.inc
Implements hook_field_widget_settings_form().
1 string reference to 'media_get_browser_plugin_info'
media_views_invalidate_cache in sites/all/modules/ulmus/media/media.views.inc
Implements hook_views_invalidate_cache().

File

sites/all/modules/ulmus/media/media.module, line 1230
Media API

Code

function media_get_browser_plugin_info() {
  $info = &drupal_static(__FUNCTION__);

  if (!isset($info)) {
    $cid = 'media:browser:plugin:info:' . $GLOBALS['language']->language;
    if ($cache = cache_get($cid)) {
      $info = $cache->data;
    }
    else {
      $info = module_invoke_all('media_browser_plugin_info');
      drupal_alter('media_browser_plugin_info', $info);
      cache_set($cid, $info);
    }
  }

  return $info;
}