| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: adminrole.drush.inc,v 1.1.2.1 2010/08/14 17:25:00 davereid Exp $ 3 4 /** 5 * @file 6 * Drush integration functions for the adminrole module. 7 */ 8 9 /** 10 * Implements hook_drush_command(). 11 */ 12 function adminrole_drush_command() { 13 $items['adminrole-update'] = array( 14 'description' => 'Update the administrator role permissions.', 15 'callback' => 'drush_adminrole_update', 16 'drupal dependencies' => array('adminrole'), 17 ); 18 return $items; 19 } 20 21 /** 22 * Drush callback; update the admin role with all current available permissions. 23 */ 24 function drush_adminrole_update() { 25 adminrole_update_permissions(); 26 drush_print(dt('Administrator role permissions updated.')); 27 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |