[development] Action when removing a language
    Olivier Jacquet 
    ojacquet at jax.be
       
    Thu Sep  2 13:01:45 UTC 2010
    
    
  
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);
>
>
    
    
More information about the development
mailing list