You are here

function quotes_form_alter in Quotes 5

Same name and namespace in other branches
  1. 6 quotes.module \quotes_form_alter()
  2. 7 quotes.module \quotes_form_alter()

Implementation of hook_form_alter().

File

./quotes.module, line 982

Code

function quotes_form_alter($form_id, &$form) {
  if ($form_id == 'block_admin_configure' && strpos($_GET['q'], 'admin/build/block/configure/quotes') == 0) {
    $form['#validate']['_quotes_block_configuration_validate'] = current($form['#validate']);
  }
}