function NullIdMap::saveMessage
Same name and namespace in other branches
- 8.9.x core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php \Drupal\migrate\Plugin\migrate\id_map\NullIdMap::saveMessage()
- 10 core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php \Drupal\migrate\Plugin\migrate\id_map\NullIdMap::saveMessage()
- 11.x core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php \Drupal\migrate\Plugin\migrate\id_map\NullIdMap::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.
Overrides MigrateIdMapInterface::saveMessage
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ NullIdMap.php, line 72
Class
- NullIdMap
- Defines the null ID map implementation.
Namespace
Drupal\migrate\Plugin\migrate\id_mapCode
public function saveMessage(array $source_id_values, $message, $level = MigrationInterface::MESSAGE_ERROR) {
// Do nothing.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.