When coding in various *nuke flavors you can grab the filename from the module's code with the following statement:

$module_name = basename(dirname(__FILE__));

Does Drupal have anything similar that one can use?

Comments

Dixen’s picture

Shameless bump...