function acquia_lift_targeting_add_context_submit in Acquia Lift Connector 7
Submit handler for the "Add Context" button.
1 string reference to 'acquia_lift_targeting_add_context_submit'
- acquia_lift_new_target_audience_form in ./
acquia_lift.admin.inc - Form for adding a targeting audience to an agent.
File
- ./
acquia_lift.admin.inc, line 1258 - acquia_lift.admin.inc Provides functions needed for the admin UI.
Code
function acquia_lift_targeting_add_context_submit($form, &$form_state) {
// Increment the number of contexts to be rendered.
$form_state['num_contexts']++;
$form_state['rebuild'] = TRUE;
}