[development] help.

Michael Favia michael.favia at gmail.com
Sat Mar 12 18:33:34 UTC 2011


module_exists() in d6 and d7 is what you're looking for I think.
On Mar 12, 2011 12:25 PM, "Damian Adriel Perez Valdes" <
damian.adriel at gmail.com> wrote:
> hello again:
>
> i'm making a module.
>
> i'm using similar to:
>
> $message[] = array(
> 'status' => 'warning',
> 'title' => t('Module modul1'),
> 'desc' => t('The description'),
> );
>
> $message[] = array(
> 'status' => 'ok',
> 'title' => t('Module modul1'),
> 'desc' => t('The description '),
> );
>
> but, how can i now if one "modul1" is active ? beacuse 'status' => 'ok',
> don't reemplace 'status' => 'warning' when a module is active.
>
> thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110312/4a750e84/attachment.html 


More information about the development mailing list