function acquia_lift_set_pending_status in Acquia Lift Connector 7
Sets a temporary "pending" status on the passed in agent.
Parameters
$agent_name: The machine name of the agent.
$agent_label: The human-readable name of the agent.
1 call to acquia_lift_set_pending_status()
- acquia_lift_personalize_option_set_save in ./
acquia_lift.module - Implements hook_personalize_option_set_save().
File
- ./
acquia_lift.module, line 2964 - acquia_lift.module Provides Acquia Lift-specific personalization functionality.
Code
function acquia_lift_set_pending_status($agent_name, $agent_label) {
$_SESSION['acquia_lift_pending_agents'][$agent_name] = $agent_label;
}