function mb_comment_cancel_validate in More Buttons 7
Implements hook_validate().
Handle the "Cancel" button validation.
1 string reference to 'mb_comment_cancel_validate'
- mb_comment_form_alter in mb_comment/
mb_comment.module - Implements hook_form_alter().
File
- mb_comment/
mb_comment.module, line 165 - Provides a Cancel button for comments.
Code
function mb_comment_cancel_validate(&$form, &$form_state) {
// This is the cancel action. No validation required.
mb_comment_cancel_action($form, $form_state);
}