Commit 2cf19536 authored by Paris Liakos's avatar Paris Liakos

Revert "Issue #1824304 Doxygen for media_query_media_browser_alter is incorrect"

This reverts commit a0d2c0df.

Removing hook from hook_hook_info() caused media_query_media_browser_alter() to never run
parent 9058a4c0
......@@ -39,7 +39,7 @@ function media_media_browser_plugin_info() {
}
/**
* Implements hook_query_TAG_alter().
* Implements hook_query_media_browser_alter().
*/
function media_query_media_browser_alter($query) {
// Ensure that the query is against the file_managed table.
......
......@@ -38,6 +38,7 @@ function media_hook_info() {
'media_wysiwyg_allowed_view_modes_alter',
'media_format_form_prepare_alter',
'media_token_to_markup_alter',
'query_media_browser_alter',
);
return array_fill_keys($hooks, array('group' => 'media'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment