You are here

function media_hook_info in D7 Media 7

Same name and namespace in other branches
  1. 7.4 media.module \media_hook_info()
  2. 7.2 media.module \media_hook_info()
  3. 7.3 media.module \media_hook_info()

Implements hook_hook_info().

File

./media.module, line 36
Media API

Code

function media_hook_info() {
  $hooks = array(
    'media_display_types',
    'media_display_types_alter',
    'media_parse',
    'media_operations',
    'media_browser_plugin_info',
    'media_browser_plugin_view',
    'media_browser_plugins_alter',
    'media_browser_params_alter',
    'media_wysiwyg_allowed_view_modes_alter',
    'media_format_form_prepare_alter',
    'media_token_to_markup_alter',
  );
  return array_fill_keys($hooks, array(
    'group' => 'media',
  ));
}