You are here

Functions in Module Builder 7

Primary tabs

Namesort descending Location Description Direct uses Strings
module_builder_update_documentation includes/update.inc Updates hook documentation files. 1
module_builder_update_documentation includes/update_7.inc Updates hook documentation files. 1
module_data_from_form includes/module_builder.pages.inc Helper function: creates an array of all the data needed to build the module from form values, suitable for passing to module_builder_generate_module(). 1
theme_module_builder_hook_list includes/module_builder.pages.inc Theme function for hook list
Xmodule_builder_page_download ./module_builder.module Module form: 'download' step. Download the files.
Xmodule_builder_page_input ./module_builder.module Module form: 'input' step. Collect module data.
Xmodule_builder_page_module ./module_builder.module Module form: 'module' step. Generate the module code.
Xmodule_builder_page_validate ./module_builder.module Makes sure that valid values have been provided to the Module Builder.
Xmodule_builder_page_write ./module_builder.module Module form: 'write' step
Xmodule_builder_write_buttons ./module_builder.module Form after build callback. If update button was clicked, update hooks documentation. Rest of form is not submitted. Cribbed from node_form_add_preview()
_form_repopulate includes/module_builder.pages.inc Repopulate form with user values. 1
_module_builder_check_hook_data includes/common.inc Check hook data is available in storage file. 1
_module_builder_check_settings includes/common.inc Create a directory to store hook files if it does not exist. 3
_module_builder_drupal_major_version includes/common.inc Returns the Drupal major version number (5, 6, 7 ...) 4
_module_builder_drush_print includes/common.inc Safe version of drush_print that can be called without worrying about where we are. 1
_module_builder_get_cvs_branch includes/update.inc Helper function for building URLs.
_module_builder_get_hooks_directory includes/common.inc Get a directory to save or read hook data files. 11
_module_builder_get_hook_destinations includes/update_7.inc Add extra data about hook destinations to the hook file data. This allows entire files or individual hooks to have a file other than the default %module.module as their destination. 1
_module_builder_get_hook_file_urls includes/update.inc Get list of hook file URLS from any modules that declare them. 1
_module_builder_invoke_hook includes/common.inc Helper function to invoke hook_module_builder_info() in all modules. 2
_module_builder_process_hook_file includes/process.inc Extracts raw hook data from downloaded hook documentation files. 1
_module_builder_save_old_form_values ./module_builder.module This still needs some work. Set a bunch of check boxes, forward, back, uncheck the boxes, forward and back and the boxes get turned back on for some reason. Otherwise this seems pretty good.
_module_builder_write_file ./module_builder.module Helper function to write files saves moving this code while mucking about with different formsAPI approaches & quicker to shortcircuit 2

Pages

Other projects