Admin Menu 7.x-3.x, xxxx-xx-xx
------------------------------
+#671760 by sun: Updated for new preprocess defaults.
#731462 by sun: Updated for system_rebuild_theme_data().
by sun: Re-added a "Rebuild system links" button to settings form.
#420816 by tim.plunkett: Updated taxonomy path map for machine names.
description = Administration and debugging functionality for developers and site builders.
package = Administration
core = 7.x
+scripts[] = admin_devel.js
files[] = admin_devel.module
*/
/**
- * Implements hook_init().
- */
-function admin_devel_init() {
- drupal_add_js(drupal_get_path('module', 'admin_devel') . '/admin_devel.js');
-}
-
-/**
* Implements hook_form_FORMID_alter().
*/
function admin_devel_form_admin_menu_theme_settings_alter(&$form, &$form_state) {
global $user, $language;
$path = drupal_get_path('module', 'admin_menu');
- drupal_add_css($path . '/admin_menu.css', array('preprocess' => FALSE));
+ drupal_add_css($path . '/admin_menu.css');
if ($user->uid == 1) {
- drupal_add_css($path . '/admin_menu.uid1.css', array('preprocess' => FALSE));
+ drupal_add_css($path . '/admin_menu.uid1.css');
}
// Performance: Defer execution.
drupal_add_js($path . '/admin_menu.js', array('defer' => TRUE));