function authcache_ubercart_module_implements_alter in Authenticated User Page Caching (Authcache) 7.2
Implements hook_module_implements_alter().
@todo: Remove when https://www.drupal.org/node/2885388 is resolved.
Make sure that hook_form_alter of this module is called before all other modules in order to beat the main authcache module.
File
- modules/
authcache_ubercart/ authcache_ubercart.module, line 34 - Authcache support for Ubercart.
Code
function authcache_ubercart_module_implements_alter(&$implementations, $hook) {
if ($hook === 'form_alter') {
$me = $implementations['authcache_ubercart'];
unset($implementations['authcache_ubercart']);
$implementations = array_merge(array(
'authcache_ubercart' => $me,
), $implementations);
}
}