forked from drush-ops/drush
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial API docs. Much more to do. Help wanted.
- Loading branch information
1 parent
14c7daf
commit 0b57780
Showing
1 changed file
with
60 additions
and
0 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,60 @@ | ||
<?php | ||
// $Id$ | ||
|
||
/** | ||
* @file | ||
* Documentation for Drush. | ||
*/ | ||
|
||
/** | ||
* @addtogroup hooks | ||
* @{ | ||
*/ | ||
|
||
/** | ||
* Take action before any command is run. Logging an error stops command execution. | ||
*/ | ||
function hook_drush_init() { | ||
|
||
} | ||
|
||
/** | ||
* Run before a specific command executes. | ||
* | ||
* Logging an error stops command execution, and the rollback function (if any) | ||
* for each hook implementation is invoked - hook_COMMAND_validate_rollback(). | ||
*/ | ||
function hook_COMMAND_validate() { | ||
|
||
} | ||
|
||
/** | ||
* Run before a specific command executes. Logging an error stops command execution. | ||
* | ||
* Logging an error stops command execution, and the rollback function (if any) | ||
* for each hook implementation is invoked - hook_pre_COMMAND_rollback(). | ||
*/ | ||
function hook_pre_COMMAND() { | ||
|
||
} | ||
|
||
/** | ||
* Run after a specific command executes. Logging an error stops command execution. | ||
* | ||
* Logging an error stops command execution, and the rollback function (if any) | ||
* for each hook implementation is invoked - hook_post_COMMAND_rollback(). | ||
*/ | ||
function hook_post_COMMAND() { | ||
|
||
} | ||
|
||
/** | ||
* Take action after any command is run. | ||
*/ | ||
function hook_drush_exit() { | ||
|
||
} | ||
|
||
/** | ||
* @} End of "addtogroup hooks". | ||
*/ |