Closed (duplicate)
Project:
Services
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2009 at 02:01 UTC
Updated:
5 Dec 2009 at 02:02 UTC
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
Comment #1
gddI believe this change was commited in #597206: Allow modules to include a service file ina subdirectory