You are here

NullDestination.php in Zircon Profile 8

File

core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php
View source
<?php

/**
 * @file
 * Contains \Drupal\migrate\Plugin\migrate\destination\NullDestination.
 */
namespace Drupal\migrate\Plugin\migrate\destination;

use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate\Row;

/**
 * @MigrateDestination(
 *   id = "null",
 *   requirements_met = false
 * )
 */
class NullDestination extends DestinationBase {

  /**
   * {@inheritdoc}
   */
  public function getIds() {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  public function fields(MigrationInterface $migration = NULL) {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  public function import(Row $row, array $old_destination_id_values = array()) {
  }

}

Classes

Namesort descending Description
NullDestination Plugin annotation @MigrateDestination( id = "null", requirements_met = false )