function _promote_disable_sticky_form_submit in Promote Disable 7
Changes the value of the "sticky" form field if it is set.
See also
1 string reference to '_promote_disable_sticky_form_submit'
- promote_disable_form_alter in ./
promote_disable.module - Implements hook_form_alter().
File
- ./
promote_disable.module, line 149 - Primarily Drupal hooks and helper functions. This is the main module file for Promote Disable.
Code
function _promote_disable_sticky_form_submit($form, &$form_state) {
// Change the appropriate values.
$form_state['input']['sticky'] = 0;
$form_state['values']['sticky'] = 0;
}