You are here

function mb_content_cancel_validate in More Buttons 7

Implements hook_form_validate().

Handle the "Cancel" validation.

1 string reference to 'mb_content_cancel_validate'
mb_content_form_alter in mb_content/mb_content.module
Implements hook_form_alter().

File

mb_content/mb_content.module, line 368
Provides additional buttons for nodes.

Code

function mb_content_cancel_validate($form, &$form_state) {

  // This is the cancel action. No validation required.
  mb_content_cancel_action($form, $form_state);
}