token.drush.inc 344 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @file
  4. * Drush integration for the Token module.
  5. */
  6. /**
  7. * Implements hook_drush_cache_clear().
  8. */
  9. function token_drush_cache_clear(&$types) {
  10. $types['token'] = 'drush_token_cache_clear_token_info';
  11. }
  12. /**
  13. * Clear caches internal to Token module.
  14. */
  15. function drush_token_cache_clear_token_info() {
  16. token_clear_cache();
  17. }