function notifications_scheduler_new_posts_action_submit in Notifications 7
Action: Configuration form submit
1 call to notifications_scheduler_new_posts_action_submit()
- notifications_scheduler_latest_posts_action_submit in notifications_scheduler/
notifications_scheduler.module - Action: Configuration form submit
File
- notifications_scheduler/
notifications_scheduler.module, line 235 - Notifications scheduler module
Code
function notifications_scheduler_new_posts_action_submit($form, &$form_state) {
// Process the HTML form to store configuration. The keyed array that
// we return will be serialized to the database.
$params = notifications_scheduler_default_action_submit($form, $form_state);
$params['node_type'] = $form_state['values']['node_type'];
if (isset($form_state['values']['taxonomy_term'])) {
$params['taxonomy_term'] = $form_state['values']['taxonomy_term'];
}
return $params;
}