You are here

public function MigrateException::getLevel in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/MigrateException.php \Drupal\migrate\MigrateException::getLevel()
  2. 9 core/modules/migrate/src/MigrateException.php \Drupal\migrate\MigrateException::getLevel()

Gets the level.

Return value

int An integer status code. @see Migration::MESSAGE_*

File

core/modules/migrate/src/MigrateException.php, line 58

Class

MigrateException
Defines the migrate exception class.

Namespace

Drupal\migrate

Code

public function getLevel() {
  return $this->level;
}