Same name and namespace in other branches
  1. 8.9.x core/modules/migrate/src/MigrateSkipProcessException.php \Drupal\migrate\MigrateSkipProcessException
  2. 9 core/modules/migrate/src/MigrateSkipProcessException.php \Drupal\migrate\MigrateSkipProcessException

This exception is thrown when the rest of the process should be skipped.

Hierarchy

Expanded class hierarchy of MigrateSkipProcessException

Deprecated

in drupal:10.3.0 and is removed from drupal:12.0.0. Return FALSE from a process plugin's isPipelineStopped() method to stop further processing on a pipeline.

See also

https://www.drupal.org/node/3414511

1 file declares its use of MigrateSkipProcessException
MigrateSkipProcessExceptionTest.php in core/modules/migrate/tests/src/Unit/Exception/MigrateSkipProcessExceptionTest.php

File

core/modules/migrate/src/MigrateSkipProcessException.php, line 13

Namespace

Drupal\migrate
View source
class MigrateSkipProcessException extends \Exception {
  public function __construct(string $message = "", int $code = 0, ?\Throwable $previous = NULL) {
    trigger_error(__CLASS__ . " is deprecated in drupal:10.3.0 and is removed from drupal:12.0.0. Return TRUE from a process plugin's isPipelineStopped() method to halt further processing on a pipeline. See https://www.drupal.org/node/3414511", E_USER_DEPRECATED);
    parent::__construct($message, $code, $previous);
  }

}

Members