Created
August 27, 2013 12:19
-
-
Save jlavialle/6352795 to your computer and use it in GitHub Desktop.
Weight for module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implements hook_enable() | |
| * @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_enable/7 | |
| */ | |
| function cirpack_extranet_user_account_enable() { | |
| db_update('system') | |
| ->fields(array('weight' => 10)) | |
| ->condition('type', 'module') | |
| ->condition('name', 'cirpack_extranet_user_account') | |
| ->execute(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment