A fatal error occured, and all you have to do is put this in your settings.php (usually in sites/default):
ini_set('display_errors', 1);
Then you will see your error.
ini_set('display_errors', 1);
function mymodule_form_alter(&$form, $form_state, $form_id) {
if ($form_id == '?') {
//what you want to do
}
}
function mymodule_form_alter(&$form, $form_state, $form_id) {
var_dump($form_id);
if ($form_id == '?') {
//what you want to do
}
}
function mymodule_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'views_exposed_form') {
var_dump($form);
}
}
"submit" ["#value"]=> string(5) "Apply"
function mymodule_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'views_exposed_form') {
$form['submit']['#value'] = t('Search');
}
}