function quotes_form_alter in Quotes 7
Same name and namespace in other branches
- 5 quotes.module \quotes_form_alter()
- 6 quotes.module \quotes_form_alter()
Implements hook_form_alter().
1 call to quotes_form_alter()
- quotes_view in ./
quotes.module - Implements hook_view().
File
- ./
quotes.module, line 1456 - 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';
}
}