/[drupal]/contributions/modules/taxonomy_role/taxonomy_role.install
ViewVC logotype

Contents of /contributions/modules/taxonomy_role/taxonomy_role.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Sun Jul 6 16:42:40 2008 UTC (16 months, 2 weeks ago) by der
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1, HEAD
Changes since 1.2: +2 -4 lines
File MIME type: text/x-php
initial 6 commit
1 <?php
2 // $Id: taxonomy_role.install,v 1.2 2007/09/09 05:00:20 davidlesieur Exp $
3
4 /**
5 * Implementation of hook_install().
6 *
7 * Sets taxonomy_role 'weight' to 99. This ensures that its hook_form_alter()
8 * runs after taxonomy.
9 */
10 function taxonomy_role_install() {
11 $ret = array();
12 $ret[] = db_query("UPDATE {system} SET weight = 99 WHERE name = 'taxonomy_role'");
13 return $ret;
14 }

  ViewVC Help
Powered by ViewVC 1.1.2