You are here

bynder.drush.inc in Bynder 7

File

includes/bynder.drush.inc
View source
<?php

/**
 * Implements hook_drush_cache_clear().
 */
function bynder_drush_cache_clear(&$types) {
  $types['bynder'] = '_bynder_cache_clear';
}

/**
 * Utility function that clears all the entries in our cache bin.
 */
function _bynder_cache_clear() {
  cache_clear_all('*', 'cache_bynder', true);
}

Functions

Namesort descending Description
bynder_drush_cache_clear Implements hook_drush_cache_clear().
_bynder_cache_clear Utility function that clears all the entries in our cache bin.