You are here

function module_builder_callback_info in Module Builder 7

Handles the callback for info code generation.

1 call to module_builder_callback_info()
module_builder_callback_build in drush/module_builder.drush.inc
Module builder drush command callback.

File

drush/module_builder.drush.inc, line 341
Module builder drush commands.

Code

function module_builder_callback_info($commands, $module_data) {
  module_builder_include('generate_info');
  $info_code = module_builder_generate_info($module_data);
  module_builder_drush_output_code($module_data['module_root_name'], $module_data['module_root_name'] . '.info', $info_code);
}