function module_builder_generate_info_oo in Module Builder 6.2
Generate info code. New OO version!
1 call to module_builder_generate_info_oo()
- module_builder_build_info in drush/
module_builder.drush.inc - Generates and outputs info file code.
File
- includes/
generate.inc, line 14 - Module builder code generating code.
Code
function module_builder_generate_info_oo($module_data) {
$class = module_builder_get_class('info');
$generator = new $class($module_data);
$code = $generator
->build();
return $code;
}