function MigrateIdMapInterface::saveMessage
Same name in other branches
- 9 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::saveMessage()
- 10 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::saveMessage()
- 11.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::saveMessage()
Saves a message related to a source record in the migration message table.
Parameters
array $source_id_values: The source identifier keyed values of the record, e.g. ['nid' => 5].
string $message: The message to record.
int $level: (optional) The message severity. Defaults to MigrationInterface::MESSAGE_ERROR.
2 methods override MigrateIdMapInterface::saveMessage()
- NullIdMap::saveMessage in core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ NullIdMap.php - Saves a message related to a source record in the migration message table.
- Sql::saveMessage in core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php - Saves a message related to a source record in the migration message table.
File
-
core/
modules/ migrate/ src/ Plugin/ MigrateIdMapInterface.php, line 100
Class
- MigrateIdMapInterface
- Defines an interface for migrate ID mappings.
Namespace
Drupal\migrate\PluginCode
public function saveMessage(array $source_id_values, $message, $level = MigrationInterface::MESSAGE_ERROR);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.