You are here

function gathercontent_form_alter in GatherContent 7.3

Implements hook_form_alter().

We are adding some classes here.

File

./gathercontent.module, line 1585

Code

function gathercontent_form_alter(&$form, &$form_state, $form_id) {
  switch ($form_id) {
    case 'gathercontent_import_form_select':
      $form['#attributes']['class'][] = 'form-select-import';
      break;
    case 'gathercontent_mapping_edit_form':
      $form['#attributes']['class'][] = 'form-gathercontent-mapping';
      break;
  }
}