function variable_module_implements_alter in Variable 7.2
Same name and namespace in other branches
- 7 variable.module \variable_module_implements_alter()
Implements hook_module_implements_alter().
Move variable_form_alter() to the end of the list to give modules manipulating variables/realms a chance to act on settings forms.
Parameters
$implementations: All implementations of the given hook.
$hook: Name of the hook.
File
- ./
variable.module, line 733 - Variable API module
Code
function variable_module_implements_alter(&$implementations, $hook) {
if ($hook == 'form_alter') {
$group = $implementations['variable'];
unset($implementations['variable']);
$implementations['variable'] = $group;
}
}