array( 'url' => 'http://cvs.drupal.org/viewvc.py/drupal/contributions/docs/developer/hooks/%file?view=co&pathrev=%branch', 'branch' => 'DRUPAL-6--1', 'group' => '#filenames', 'hook_files' => array( // List of files we should slurp from the url for hook defs. // and the destination file for processed code. 'core.php' => '%module.module', 'node.php' => '%module.module', 'install.php' => '%module.install', ), ), // We need to do our own stuff now we have a hook! 'module_builder' => array( 'url' => 'http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/module_builder/hooks/%file?view=co&pathrev=%branch', 'branch' => 'DRUPAL-6--2', 'group' => 'module builder', 'hook_files' => array( 'module_builder.php' => '%module.module_builder.inc', ), ), ); return $data; }