function media_gallery_admin_settings in Media Gallery 7.2
Same name and namespace in other branches
- 7 media_gallery.admin.inc \media_gallery_admin_settings()
The Galleries settings page will just return the term edit form for the "all galleries" tid.
1 string reference to 'media_gallery_admin_settings'
- media_gallery_menu in ./
media_gallery.module - Implements hook_menu().
File
- ./
media_gallery.admin.inc, line 12 - This file contains the admin functions for the Media Gallery module.
Code
function media_gallery_admin_settings() {
$edit = media_gallery_get_default_gallery_collection();
$form_state['build_info']['args'] = array(
$edit,
);
form_load_include($form_state, 'inc', 'taxonomy', 'taxonomy.admin');
return drupal_build_form('taxonomy_form_term', $form_state);
}