function media_module_test_media_browser_plugin_info in D7 Media 7.2
Same name and namespace in other branches
- 7.4 tests/media_module_test.module \media_module_test_media_browser_plugin_info()
- 7.3 tests/media_module_test.module \media_module_test_media_browser_plugin_info()
Implements hook_media_browser_plugin_info().
1 string reference to 'media_module_test_media_browser_plugin_info'
- MediaHooksTestCase::testMediaBrowserHooks in tests/
media.test - Tests that the media browser hooks.
File
- tests/
media_module_test.module, line 11 - Provides Media module pages for testing purposes.
Code
function media_module_test_media_browser_plugin_info() {
// Allow tests to enable or disable this hook.
if (!variable_get('media_module_test_media_browser_plugin_info', FALSE)) {
return array();
}
$info['media_module_test'] = array(
'title' => t('Media module test'),
'class' => 'MediaModuleTest',
'weight' => 50,
);
return $info;
}