[development] module_exists vs. functions_exists?

Earnie Boyd earnie at users.sourceforge.net
Tue Jun 24 17:48:21 UTC 2008


Quoting Frando <frando2 at unbiskant.org>:

>
> In Drupal 7, module_invoke uses module_hook uses drupal_function_exists. I
> don't see why you should not use module_invoke to call API functions.
>

As I have already stated it isn't the defined use of the function.  The 
defined use of the function is to execute hook implementations.  If it 
is used for anything else then confusion will happen and perhaps cause 
for a lot of frustration in maintenance.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the development mailing list