4 August 2011

How to include module file to anywhere. For an example if you want to spread up your functions in different files for structure and readability then this is the right way of including module files.

Source code viewer
  1. // variables: file extention, module machine name, file directory in module folder
  2. module_load_include('inc', 'node', 'node.pages');
Programming Language: PHP