You are here

function node_unpublish_by_keyword_action_submit in Drupal 7

Same name and namespace in other branches
  1. 6 modules/node/node.module \node_unpublish_by_keyword_action_submit()

Saves settings form for node_unpublish_by_keyword_action().

File

modules/node/node.module, line 4086
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_unpublish_by_keyword_action_submit($form, $form_state) {
  return array(
    'keywords' => drupal_explode_tags($form_state['values']['keywords']),
  );
}