Project

General

Profile

Paste
Download (418 Bytes) Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / token / token.drush.inc @ 4cfd8be6

1
<?php
2

    
3
/**
4
 * @file
5
 * Drush integration for the Token module.
6
 */
7

    
8
/**
9
 * Implements hook_drush_cache_clear().
10
 */
11
function token_drush_cache_clear(&$types) {
12
  if (function_exists('module_exists') && module_exists('token')) {
13
    $types['token'] = 'drush_token_cache_clear_token_info';
14
  }
15
}
16

    
17
/**
18
 * Clear caches internal to Token module.
19
 */
20
function drush_token_cache_clear_token_info() {
21
  token_clear_cache();
22
}