IIUC, in Drupal-6 the function module_load_include($type,$module,$name)
takes 3 args whereas the services.module implementation calls it with two:

module_load_include($file['file'], $file['module']);

Would it be generally useful to add and propagate a 'name' parameter in the API?

'#file' => array('file' => 'inc', 'module' => 'node_service', 'name' =>'other_inc_filename')

Thanks.

Comments

gdd’s picture

Status: Active » Closed (duplicate)