function acquia_lift_module_implements_alter in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 acquia_lift.module \acquia_lift_module_implements_alter()
Implements hook_module_implements_alter().
File
- ./
acquia_lift.module, line 2963 - acquia_lift.module Provides Acquia Lift-specific personalization functionality.
Code
function acquia_lift_module_implements_alter(&$implementations, $hook) {
if (in_array($hook, array(
'form_alter',
'form_field_ui_field_edit_form_alter',
)) && isset($implementations['acquia_lift'])) {
// Ensure that our hook_form_field_ui_field_edit_form_alter implementation
// runs last (after personalize_fields.module).
$group = $implementations['acquia_lift'];
unset($implementations['acquia_lift']);
$implementations['acquia_lift'] = $group;
}
}