function token_drush_cache_clear

cis7 token.drush.inc token_drush_cache_clear(&$types)
cle7 token.drush.inc token_drush_cache_clear(&$types)
elmsmedia7 token.drush.inc token_drush_cache_clear(&$types)
icor7 token.drush.inc token_drush_cache_clear(&$types)
meedjum_blog7 token.drush.inc token_drush_cache_clear(&$types)
mooc7 token.drush.inc token_drush_cache_clear(&$types)

Implements hook_drush_cache_clear().

File

sites/all/modules/ulmus/token/token.drush.inc, line 11
Drush integration for the Token module.

Code

function token_drush_cache_clear(&$types) {
  if (function_exists('module_exists') && module_exists('token')) {
    $types['token'] = 'drush_token_cache_clear_token_info';
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.