You are here

function taxonomy_xml_include_module_hooks in Taxonomy import/export via XML 6.2

Load includes for any modules that implement extensions to import or export processes.

We don't have much of an API, but any module can include hook_taxonomy_xml_export_term if it wants to.

4 calls to taxonomy_xml_include_module_hooks()
taxonomy_xml_export_term in ./taxonomy_xml.module
Return a representation of the requested term
taxonomy_xml_file in ./taxonomy_xml.module
Return a flat file representation of the requested vocab
taxonomy_xml_import_from_url in ./taxonomy_xml.module
Import data from one URL. Function used by the batch operation
taxonomy_xml_invoke_import in ./taxonomy_xml.module
Do the actual importing from the given string, pased on the parameters passed from the form.

File

./taxonomy_xml.module, line 779
This module makes it possible to import and export taxonomies as XML documents.

Code

function taxonomy_xml_include_module_hooks($reset = FALSE) {

  // I'm providing some default integration on behalf of these modules.
  // Find the files in the 'includes' directory
  $modules = array(
    'path',
    'geotaxonomy',
    'menu',
  );
  foreach (array_filter($modules, 'module_exists') as $module) {
    module_load_include('inc', 'taxonomy_xml', "includes/taxonomy_xml.{$module}");
  }
}