You are here

function module_builder_init in Module Builder 6.2

Same name and namespace in other branches
  1. 7 module_builder.module \module_builder_init()

Implementation of hook_init().

File

./module_builder.module, line 48
Builds scaffolding for custom modules.

Code

function module_builder_init() {

  // Set our environment.
  define('MODULE_BUILDER_ENV', 'drupal');

  // Include common code.
  include_once './' . drupal_get_path('module', 'module_builder') . '/includes/common.inc';
}