This repository has been archived by the owner on Sep 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added A module file template and an install file template.
- Loading branch information
Adam A. Gregory
committed
Jul 26, 2011
1 parent
feef44f
commit 22b96cf
Showing
3 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Install, Uninstall, Schema, and Update functionality | ||
*/ | ||
|
||
/** | ||
* Implements hook_install(). | ||
*/ | ||
function ${TM_NEW_FILE_BASENAME}_install() { | ||
|
||
} | ||
|
||
/** | ||
* Implements hook_uninstall(). | ||
*/ | ||
function ${TM_NEW_FILE_BASENAME}_uninstall() { | ||
|
||
} | ||
|
||
/** | ||
* Implements hook_schema(). | ||
*/ | ||
function ${TM_NEW_FILE_BASENAME}_schema() { | ||
$schema = array(); | ||
|
||
return $schema; | ||
} | ||
|
||
/** | ||
* Implements hook_update_N(). | ||
*/ | ||
function ${TM_NEW_FILE_BASENAME}_update_7100() { | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
<?php | ||
/** | ||
* @file | ||
* File description goes here | ||
*/ | ||
* Core and Contrib Hooks, and required functions for module | ||
*/ | ||
|
||
/** | ||
* Implements hook_help(). | ||
*/ | ||
function ${TM_NEW_FILE_BASENAME}_help($path, $arg) { | ||
|
||
} |
This file contains 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