You are here

function personalize_in_context_start in Acquia Lift Connector 7

Page callback to start personalization edit mode.

1 string reference to 'personalize_in_context_start'
acquia_lift_menu in ./acquia_lift.module
Implements hook_menu().

File

./acquia_lift.ui.inc, line 252
acquia_lift.ui.inc Provides functions needed for the front-end UI.

Code

function personalize_in_context_start() {
  if (isset($_GET['destination'])) {
    $_SESSION['acquia_lift_personalize_edit_mode_return'] = $_GET['destination'];
    unset($_GET['destination']);
  }
  acquia_lift_set_nav_message();
  drupal_goto();
}