You are here

function custom_pub_off_action_submit in Custom Publishing Options 7

Same name and namespace in other branches
  1. 6 custom_pub.module \custom_pub_off_action_submit()

Submit callback for custom_pub_off_action_form().

_state

Parameters

$form:

Return value

array

File

./custom_pub.module, line 361
Adds the ability to add Custom publishing options to the node Add/Edit forms.

Code

function custom_pub_off_action_submit($form, &$form_state) {
  return array(
    'types' => $form_state['values']['types'],
  );
}