Tripal
All Classes Files Functions Variables Modules Pages
Functions
tripal.importer.api.php File Reference

Functions

 hook_handle_uploaded_file ($file, $type)
 
 hook_importer_start ($importer)
 
 hook_importer_finish ($importer)
 
 tripal_run_importer ($import_id, TripalJob $job=NULL)
 
 tripal_run_importer_run ($loader, $logger)
 
 tripal_run_importer_post_run ($loader, $logger)
 

Detailed Description

Provides an application programming interface (API) for working with data file importers using the TripalImporter class.

Function Documentation

◆ hook_importer_finish()

hook_importer_finish (   $importer)

Implements hook_importer_finish().

This hook is executed once a TripalImporter has completed both its run and post run activities. This allows modules to implement specific actions once loaders are completed.

Parameters
Drupal\tripal\TripalImporter\TripalImporterBase$importerThe instance of the TripalImporter plugin that just completed its run.

◆ hook_importer_start()

hook_importer_start (   $importer)

Implements hook_importer_finish().

This hook is executed before a TripalImporter has started. This allows modules to implement specific actions prior to execution.

Parameters
Drupal\tripal\TripalImporter\TripalImporterBase$importerThe instance of the TripalImporter class that just completed its run.