You are here

public function MigrateIdMapInterface::getMessageIterator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::getMessageIterator()

Retrieves an iterator over messages relate to source records.

Parameters

array $source_id_values: (optional) The source identifier keyed values of the record, e.g. ['nid' => 5]. If empty, all messages are retrieved.

int $level: (optional) Message severity. If NULL, retrieve messages of all severities.

Return value

\Iterator Retrieves an iterator over the message rows.

1 method overrides MigrateIdMapInterface::getMessageIterator()
Sql::getMessageIterator in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Retrieves an iterator over messages relate to source records.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 80
Contains \Drupal\migrate\Plugin\MigrateIdMapInterface.

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function getMessageIterator(array $source_id_values = [], $level = NULL);