You are here

public function MigrateSkipRowException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 31
Contains \Drupal\migrate\MigrateSkipRowException.

Class

MigrateSkipRowException
This exception is thrown when a row should be skipped.

Namespace

Drupal\migrate

Code

public function __construct($message = NULL, $save_to_map = TRUE) {
  parent::__construct($message);
  $this->saveToMap = $save_to_map;
}