You are here

function module_builder_build_info in Module Builder 6.2

Generates and outputs info file code.

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

File

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

Code

function module_builder_build_info($commands, $module_data) {
  module_builder_include('generate');
  $info_code = module_builder_generate_info_oo($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);
}