function workbench_email_form_node_callback in Workbench Email 7.3
Same name and namespace in other branches
- 7 workbench_email.module \workbench_email_form_node_callback()
Ajax callback function, targets the workbench_email container.
Parameters
array $form: The form array
array $form_state: The form_state array
1 string reference to 'workbench_email_form_node_callback'
File
- ./
workbench_email.form.inc, line 110 - Code for the Workbench Email Module.
Code
function workbench_email_form_node_callback($form, $form_state) {
if ($form['options']['#access']) {
return $form['options']['workbench_email'];
}
return $form['revision_information']['workbench_email'];
}