You are here

function quotes_form_alter in Quotes 6

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

Implementation of hook_form_alter().

File

./quotes.module, line 1095
The quotes module allows users to maintain a list of quotes that can be displayed in any number of administrator-defined quote blocks.

Code

function quotes_form_alter(&$form, &$form_state, $form_id) {
  if ($form_id == 'block_admin_configure' && $form['module']['#value'] == 'quotes') {
    $form['#validate'][] = '_quotes_block_configuration_validate';
  }
}