You are here

function datex_popup_form_alter in Datex 7.3

Implements hook_form_alter().

File

datex_popup/form.inc, line 53
Alter date_popup element in various forms.

Code

function datex_popup_form_alter(&$form, &$form_state) {
  if (isset($form['#id']) && $form['#id'] === 'comment-form' && $form['author']['date']['#access']) {
    _datex_popup_authored_form($form, $form_state);
  }
}