You are here

function ajax_form_configure in Ajax 6

Adds warnings to various configuration forms

_state _id

Parameters

$form:

Return value

unknown_type

1 call to ajax_form_configure()
ajax_form_alter in ./ajax.module
hook_form_alter

File

./ajax.module, line 63

Code

function ajax_form_configure(&$form, $form_state, $form_id) {
  if ($form_id === 'node_configure') {
    $form['node_preview']['#description'] .= "&nbsp;" . "<span style='color:#F00;'>" . t('Setting this option to "Required" will conflict with Ajax ' . 'form submissions. ') . "</span>";
  }
  return TRUE;
}