public function MigrateBatchExecutable::setBatchContext in Migrate Tools 8.4
Same name and namespace in other branches
- 8.5 src/MigrateBatchExecutable.php \Drupal\migrate_tools\MigrateBatchExecutable::setBatchContext()
Sets the current batch content so listeners can update the messages.
Parameters
array|\DrushBatchContext $context: The batch context.
File
- src/
MigrateBatchExecutable.php, line 70
Class
- MigrateBatchExecutable
- Defines a migrate executable class for batch migrations through UI.
Namespace
Drupal\migrate_toolsCode
public function setBatchContext(&$context) {
$this->batchContext =& $context;
}