pages_restriction.drush.inc in Pages Restriction Access 7
File to hook drush cc all execution.
File
pages_restriction.drush.incView source
<?php
/**
* @file
* File to hook drush cc all execution.
*/
/**
* Implements hook_drush_cache_clear().
*/
function pages_restriction_drush_cache_clear(&$types) {
$types['pages_restriction'] = '_pages_restriction_cache_clear';
}
/**
* Rebuild Onetouch Pages Restriction cache.
*/
function _pages_restriction_cache_clear() {
module_load_include('inc', 'pages_restriction', 'includes/pages_restriction.cache');
_pages_restriction_flush_cache();
}
Functions
Name![]() |
Description |
---|---|
pages_restriction_drush_cache_clear | Implements hook_drush_cache_clear(). |
_pages_restriction_cache_clear | Rebuild Onetouch Pages Restriction cache. |