NullIdMap.php in Drupal 10
File
core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
View source
<?php
namespace Drupal\migrate\Plugin\migrate\id_map;
use Drupal\Core\Plugin\PluginBase;
use Drupal\migrate\MigrateMessageInterface;
use Drupal\migrate\Plugin\MigrateIdMapInterface;
use Drupal\migrate\Plugin\MigrationInterface;
use Drupal\migrate\Row;
class NullIdMap extends PluginBase implements MigrateIdMapInterface {
public function setMessage(MigrateMessageInterface $message) {
}
public function getRowBySource(array $source_id_values) {
return [];
}
public function getRowByDestination(array $destination_id_values) {
return [];
}
public function getRowsNeedingUpdate($count) {
return 0;
}
public function lookupSourceId(array $destination_id_values) {
return [];
}
public function lookupDestinationIds(array $source_id_values) {
return [];
}
public function saveIdMapping(Row $row, array $destination_id_values, $source_row_status = MigrateIdMapInterface::STATUS_IMPORTED, $rollback_action = MigrateIdMapInterface::ROLLBACK_DELETE) {
}
public function saveMessage(array $source_id_values, $message, $level = MigrationInterface::MESSAGE_ERROR) {
}
public function getMessages(array $source_id_values = [], $level = NULL) {
return new \ArrayIterator([]);
}
public function prepareUpdate() {
}
public function processedCount() {
return 0;
}
public function importedCount() {
return 0;
}
public function updateCount() {
return 0;
}
public function errorCount() {
return 0;
}
public function messageCount() {
return 0;
}
public function delete(array $source_id_values, $messages_only = FALSE) {
}
public function deleteDestination(array $destination_id_values) {
}
public function setUpdate(array $source_id_values) {
}
public function clearMessages() {
}
public function destroy() {
}
public function currentDestination() {
return NULL;
}
public function currentSource() {
return NULL;
}
public function getQualifiedMapTableName() {
return '';
}
public function rewind() {
return NULL;
}
public function current() {
return NULL;
}
public function key() {
return '';
}
public function next() {
return NULL;
}
public function valid() {
return FALSE;
}
}
Classes
Name |
Description |
NullIdMap |
Defines the null ID map implementation. |