[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/module_builder/ -> module_builder.module_builder.inc (summary)

(no description)

File Size: 173 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  module_builder_module_builder_info()

Functions
Functions that are not part of a class:

module_builder_module_builder_info()   X-Ref
Implementation of hook_module_builder_info().

Provide information about hook definition files to Module builder.

On D6, define where hook definition files may be downloaded from and specify
the destination for their hooks. Only files defined here will be processed.

On D7, specify the destination files for hooks that do not go in the default
%module.module file. All module.api.php files will be processed; this hook
merely provides extra information.

This hook should go in a MODULE.module_builder.inc file in your module folder.
Is it only loaded by Module builder when the user goes to get new hook data.

This hook serves a fairly different purpose on D7 compared to prior versions.
The same hook name is kept in case some awkward contrib modules continue to keep their hook definitions on a
remote server. There's a reason, honest!
The keys are different so here we spludge both together so this code
can run on any version with Drush.
Other modules implementing this shouldn't do this, as Module Builder invokes
and builds for the version of the current site.

return:



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7