function tblid_to_arg

2.x tripal_bulk_loader.module tblid_to_arg($arg, $map, $index)
3.x tripal_bulk_loader.module tblid_to_arg($arg, $map, $index)

Implements hook_to_arg(). Ensures the arguement for the bulk loader templates path is correct

Related topics

File

tripal_bulk_loader/tripal_bulk_loader.module, line 241
Provides general functions for the tripal bulk loader.

Code

function tblid_to_arg($arg, $map, $index) {
  if (preg_match('/^(\d+|O)$/', $arg)) {
    return $arg;
  }
}