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

File

modules/node/node.module, line 2767
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']),
  );
}