public function Sql::clearMessages in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::clearMessages()
Clears all messages from the map.
Overrides MigrateIdMapInterface::clearMessages
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php, line 729 - Contains \Drupal\migrate\Plugin\migrate\id_map\Sql.
Class
- Sql
- Defines the sql based ID map implementation.
Namespace
Drupal\migrate\Plugin\migrate\id_mapCode
public function clearMessages() {
$this
->getDatabase()
->truncate($this
->messageTableName())
->execute();
}