function drush_hook_COMMAND_pre_validate

8.0.x drush.api.php drush_hook_COMMAND_pre_validate()
6.x drush.api.php drush_hook_COMMAND_pre_validate()
7.x drush.api.php drush_hook_COMMAND_pre_validate()
5.x drush.api.php drush_hook_COMMAND_pre_validate()
master drush.api.php drush_hook_COMMAND_pre_validate()

Run before a specific command validates.

Logging an error stops command execution, and the rollback function (if any) for each hook implementation is invoked.

See also

drush_hook_COMMAND_pre_validate_rollback()

File

./drush.api.php, line 122
Documentation of the Drush API.

Code

function drush_hook_COMMAND_pre_validate() {

}