You are here

function farm_access_module_implements_alter in farmOS 7

Implements hook_module_implements_alter().

File

modules/farm/farm_access/farm_access.module, line 142
Farm Access module.

Code

function farm_access_module_implements_alter(&$implementations, $hook) {

  // Ensure that our hook_menu_alter() runs last, so that we can alter paths
  // provided by Views (which are defined in views_menu_alter()).
  if ($hook == 'menu_alter') {
    $module = 'farm_access';
    $group = $implementations[$module];
    unset($implementations[$module]);
    $implementations[$module] = $group;
  }
}