You are here

function module_builder_default_readable_name in Module Builder 6.2

Callback for generating default for module readable name.

1 string reference to 'module_builder_default_readable_name'
module_builder_build_data in drush/module_builder.drush.inc
Helper function to build the array of module_data.

File

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

Code

function module_builder_default_readable_name($commands, $module_data) {
  return ucfirst(str_replace('_', ' ', $module_data['module_root_name']));
}