Version 1
[yaffs-website] / web / modules / contrib / token / token.drush.inc
diff --git a/web/modules/contrib/token/token.drush.inc b/web/modules/contrib/token/token.drush.inc
new file mode 100644 (file)
index 0000000..b31b8d7
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * @file
+ * Drush integration for the Token module.
+ */
+
+/**
+ * Implements hook_drush_cache_clear().
+ */
+function token_drush_cache_clear(&$types) {
+  $types['token'] = 'drush_token_cache_clear_token_info';
+}
+
+/**
+ * Clear caches internal to Token module.
+ */
+function drush_token_cache_clear_token_info() {
+  token_clear_cache();
+}