You are here

public function MigrateIdMapMessageEvent::getLevel in Drupal 10

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

Gets the severity level of the message (one of the MigrationInterface::MESSAGE_* constants).

Return value

int The message level.

File

core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php, line 97

Class

MigrateIdMapMessageEvent
Wraps an ID map message event for event listeners.

Namespace

Drupal\migrate\Event

Code

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