You are here

function _module_builder_export_info in Module Builder 6

1 call to _module_builder_export_info()
module_builder_export_callback in ./module_builder.api.inc

File

./module_builder.api.inc, line 192
API functions for the module_builder module

Code

function _module_builder_export_info($module) {
  $output = '';
  $info = array();
  $info['name'] = '"' . $module->name . '"';
  $info['description'] = '"' . $module->description . '"';
  $info['core'] = '6.x';
  foreach ($info as $key => $value) {
    $output .= $key . ' = ' . $value . "\n";
  }
  return $output;
}