function MigrateIdMapMessageEvent::getLevel

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php \Drupal\migrate\Event\MigrateIdMapMessageEvent::getLevel()
  2. 10 core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php \Drupal\migrate\Event\MigrateIdMapMessageEvent::getLevel()
  3. 11.x core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php \Drupal\migrate\Event\MigrateIdMapMessageEvent::getLevel()

Gets the severity level of the message.

Message levels are declared in MigrationInterface and start with MESSAGE_.

Return value

int The message level.

See also

\Drupal\migrate\Plugin\MigrationInterface

File

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

Class

MigrateIdMapMessageEvent
Wraps an ID map message event for event listeners.

Namespace

Drupal\migrate\Event

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.