function tripal_bulk_loader_requirements

2.x tripal_bulk_loader.install tripal_bulk_loader_requirements($phase)
3.x tripal_bulk_loader.install tripal_bulk_loader_requirements($phase)
1.x tripal_bulk_loader.install tripal_bulk_loader_requirements($phase)

Implementation of hook_requirements().

File

tripal_bulk_loader/tripal_bulk_loader.install, line 220
@todo Add file header description

Code

function tripal_bulk_loader_requirements($phase) {
  $requirements = array();
  if ($phase == 'install') {
    // make sure chado is installed
    if (!tripal_core_is_chado_installed()) {
      $requirements['tripal_bulk_loader'] = array(
        'title' => "tripal_bulk_loader",
        'value' => "ERROR: Chado most be installed before this module can be enabled",
        'severity' => REQUIREMENT_ERROR,
      );
    }
  }
  return $requirements;
}