You are here

function og_views_form_alter in Organic groups 6

Implementation of hook_form_alter().

File

modules/og_views/og_views.module, line 185

Code

function og_views_form_alter(&$form, $form_state, $form_id) {
  if ($form_id == 'views_exposed_form' && $form_state['view']->name == 'og_search') {
    $form['submit']['#value'] = t('Search group');
  }
}