function acquia_lift_profiles_visitor_actions_save_action in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 acquia_lift_profiles/acquia_lift_profiles.module \acquia_lift_profiles_visitor_actions_save_action()
Implements hook_visitor_actions_save_action().
File
- acquia_lift_profiles/
acquia_lift_profiles.module, line 452 - acquia_lift_profiles.module Provides Acquia Lift Profiles integration.
Code
function acquia_lift_profiles_visitor_actions_save_action($action) {
$errors = array();
acquia_lift_profiles_put_action($action['machine_name'], acquia_lift_profiles_get_label_for_action($action), $errors);
foreach ($errors as $error) {
drupal_set_message($error, 'error');
}
}