magic.drush.inc

  1. 8.0.x tests/hooks/magic_help_alter/magic.drush.inc
  2. 6.x tests/hooks/magic_help_alter/magic.drush.inc
  3. 7.x tests/hooks/magic_help_alter/magic.drush.inc
  4. 5.x tests/hooks/magic_help_alter/magic.drush.inc
  5. master tests/hooks/magic_help_alter/magic.drush.inc

Functions

File

tests/hooks/magic_help_alter/magic.drush.inc
View source
  1. <?php
  2. /**
  3. * Implement hook_drush_help_alter()
  4. *
  5. * @param type $command
  6. */
  7. function magic_drush_help_alter(&$command) {
  8. if ($command['command'] = 'version') {
  9. $command['options']['magic'] = 'Some magic flag';
  10. }
  11. }