You are here

function acquia_lift_profiles_enable in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 acquia_lift_profiles/acquia_lift_profiles.install \acquia_lift_profiles_enable()

Implements hook_enable().

File

acquia_lift_profiles/acquia_lift_profiles.install, line 10
Acquia Lift Profiles - Installation file.

Code

function acquia_lift_profiles_enable() {

  // Clear the action subscriber cache.
  visitor_actions_clear_subscribers();

  // Create the menu link if it's missing.
  $item = _acquia_lift_profiles_get_menu_link();
  if (empty($item)) {
    _acquia_lift_profiles_build_menu_link();
  }
}