You are here

function social_path_manager_module_implements_alter in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  2. 8.5 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  3. 8.6 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  4. 8.8 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  5. 10.3.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  6. 10.0.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  7. 10.1.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()
  8. 10.2.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_module_implements_alter()

Implements hook_module_implements_alter().

File

modules/custom/social_path_manager/social_path_manager.module, line 46
The Social Path Manager module.

Code

function social_path_manager_module_implements_alter(&$implementations, $hook) {
  if ($hook === 'form_alter') {
    $group = $implementations['social_path_manager'];
    unset($implementations['social_path_manager']);
    $implementations['social_path_manager'] = $group;
  }
}