You are here

public function MigrationBase::setBatchTimeLimit in Migrate 7.2

Set the PHP time limit. This method may be called from batch callbacks before calling the processImport method.

File

includes/base.inc, line 1179
Defines the base class for migration processes.

Class

MigrationBase
The base class for all objects representing distinct steps in a migration process. Most commonly these will be Migration objects which actually import data from a source into a Drupal destination, but by deriving classes directly from MigrationBase…

Code

public function setBatchTimeLimit() {
  drupal_set_time_limit($this->batchTimeLimit);
}