Same name and namespace in other branches
  1. 8.9.x 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 62

Class

MigrateException
Defines the migrate exception class.

Namespace

Drupal\migrate

Code

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