You are here

function certificate_form_certificate_node_form_alter in Certificate 3.x

Same name and namespace in other branches
  1. 6.2 certificate.module \certificate_form_certificate_node_form_alter()
  2. 6 certificate.module \certificate_form_certificate_node_form_alter()
  3. 7.2 certificate.module \certificate_form_certificate_node_form_alter()

Implements hook_form_FORM_ID_alter().

File

./certificate.module, line 323
Certificate module.

Code

function certificate_form_certificate_node_form_alter(&$form, &$form_state) {

  // No preview - we want users to see it in PDF for accuracy.
  $form['buttons']['preview'] = NULL;
}