Mercurial > hg > rr-repo
view sites/all/modules/token/token.drush.inc @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
line wrap: on
line source
<?php /** * @file * Drush integration for the Token module. */ /** * Implements hook_drush_cache_clear(). */ function token_drush_cache_clear(&$types) { if (function_exists('module_exists') && module_exists('token')) { $types['token'] = 'drush_token_cache_clear_token_info'; } } /** * Clear caches internal to Token module. */ function drush_token_cache_clear_token_info() { token_clear_cache(); }