You are here

function _promote_disable_form_submit in Promote Disable 7

Changes the value of the "promoted" form field if it is set.

See also

promote_disable_form_alter()

1 string reference to '_promote_disable_form_submit'
promote_disable_form_alter in ./promote_disable.module
Implements hook_form_alter().

File

./promote_disable.module, line 138
Primarily Drupal hooks and helper functions. This is the main module file for Promote Disable.

Code

function _promote_disable_form_submit($form, &$form_state) {

  // Change the appropriate values.
  $form_state['input']['promote'] = 0;
  $form_state['values']['promote'] = 0;
}