function acquia_lift_personalize_option_set_save in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 acquia_lift.module \acquia_lift_personalize_option_set_save()
Implements hook_personalize_option_set_save().
File
- ./
acquia_lift.module, line 994 - acquia_lift.module Provides Acquia Lift-specific personalization functionality.
Code
function acquia_lift_personalize_option_set_save($option_set) {
$agent = personalize_agent_load($option_set->agent);
if (!acquia_lift_is_targeting_agent($agent)) {
return;
}
module_load_include('inc', 'acquia_lift', 'acquia_lift.admin');
acquia_lift_validate_minimum_targeting($agent, $option_set);
}