function profile_module_manager_theme in Profile Module Manager 7
Same name and namespace in other branches
- 7.2 profile_module_manager.module \profile_module_manager_theme()
Implements hook_theme().
File
- ./
profile_module_manager.module, line 308 - Alters grouping in admin/modules using hook_system_info_alter
Code
function profile_module_manager_theme(&$existing, $type, $theme, $path) {
$registry = array();
$template_dir = drupal_get_path('module', 'profile_module_manager') . '/templates';
$registry['profile_module_manager_bundle_page'] = array(
'template' => 'profile-module-manager-bundle-page',
'path' => $template_dir,
'render element' => 'elements',
);
$registry['profile_module_manager_bundle_group'] = array(
'template' => 'profile-module-manager-bundle-group',
'path' => $template_dir,
'render element' => 'elements',
);
$registry['profile_module_manager_bundle'] = array(
'template' => 'profile-module-manager-bundle',
'path' => $template_dir,
'render element' => 'elements',
);
$registry['profile_module_manager_bundle_actions_disabled'] = array(
'template' => 'profile-module-manager-bundle-actions-disabled',
'path' => $template_dir,
'render element' => 'elements',
);
$registry['profile_module_manager_bundle_actions_enabled'] = array(
'template' => 'profile-module-manager-bundle-actions-enabled',
'path' => $template_dir,
'render element' => 'elements',
);
return $registry;
}