function MigrateException::getLevel

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/MigrateException.php \Drupal\migrate\MigrateException::getLevel()
  2. 8.9.x core/modules/migrate/src/MigrateException.php \Drupal\migrate\MigrateException::getLevel()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.