function MigrateSkipRowException::__construct
Same name in other branches
- 8.9.x core/modules/migrate/src/MigrateSkipRowException.php \Drupal\migrate\MigrateSkipRowException::__construct()
- 10 core/modules/migrate/src/MigrateSkipRowException.php \Drupal\migrate\MigrateSkipRowException::__construct()
- 11.x core/modules/migrate/src/MigrateSkipRowException.php \Drupal\migrate\MigrateSkipRowException::__construct()
Constructs a MigrateSkipRowException object.
Parameters
string $message: The message for the exception.
bool $save_to_map: TRUE to record as STATUS_IGNORED in the map, FALSE to skip silently.
File
-
core/
modules/ migrate/ src/ MigrateSkipRowException.php, line 26
Class
- MigrateSkipRowException
- This exception is thrown when a row should be skipped.
Namespace
Drupal\migrateCode
public function __construct($message = '', $save_to_map = TRUE) {
parent::__construct($message);
$this->saveToMap = $save_to_map;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.