function footer_message_form_submit in Footer Message 7
Custom submit function for system_site_information_settings form.
1 string reference to 'footer_message_form_submit'
File
- ./
footer_message.module, line 93 - This module provides a configurable footer message as a block.
Code
function footer_message_form_submit($form, &$form_state) {
$message = $form_state['values']['footer_message_msg'];
$element = $form['footer_message_msg'];
// Clear the footer_message block cache.
if ($message['value'] != $element['#default_value'] || $message['format'] != $element['#format']) {
cache_clear_all('footer_message:', 'cache_block', TRUE);
}
}