You could also just hook_form_alter() and add your submit handler to #submit.

in test.module:

function test_form_locale_languages_delete_form_alter(&$form) {
  $form['#submit'][] = 'test_form_submit';
}

function test_form_submit($form, $form_state) {
  echo 'hello';
}



Nikola Kotur wrote, On 09/02/2010 01:45 PM:
On Thu, 2010-09-02 at 13:42 +0200, Nikola Kotur wrote:

watchdog('locale', 'The %language language (%code) has been created.',
array('%language' =>  $name, '%code' =>  $langcode));


Whoops, I actually meant this one:

watchdog('locale', 'The language %locale has been removed.',
$variables);


Reply via email to