Skip to main content

Ejecutar importación de migrate programáticamente

En ocasiones puede ser útil la importación de un elemento de migrate en PHP

$options = array(
  'limit' => 1,
  'idlist' => $list,
);
migrate_static_registration(array($machine_name));
$migration = Migration::getInstance($machine_name);
$result = $migration->processImport($options);
Jorge Tutor

Jorge Tutor

CIO

Training courses

Face-to-face and online training for development and product teams.