You are here

public function GeolocationGeometryDataManager::executeGemeotryDataBatch in Geolocation Field 8.3

Start executing batch process.

Parameters

array $batch_settings: Batch settings.

Return value

mixed Batch process.

File

modules/geolocation_geometry/modules/geolocation_geometry_data/src/GeolocationGeometryDataManager.php, line 66

Class

GeolocationGeometryDataManager
Search plugin manager.

Namespace

Drupal\geolocation_geometry_data

Code

public function executeGemeotryDataBatch(array $batch_settings) {
  batch_set($batch_settings);
  $batch =& batch_get();
  $batch['progressive'] = FALSE;
  if (PHP_SAPI === 'cli' && function_exists('drush_backend_batch_process')) {
    return drush_backend_batch_process();
  }
  else {
    return batch_process();
  }
}