wxt-8.x-3.011/modules/custom/wxt_ext/wxt_ext_migration/src/Plugin/migrate/destination/NullDest.php

modules/custom/wxt_ext/wxt_ext_migration/src/Plugin/migrate/destination/NullDest.php
<?php

namespace Drupal\wxt_ext_migration\Plugin\migrate\destination;

use Drupal\migrate\Plugin\migrate\destination\DestinationBase;
use Drupal\migrate\Plugin\MigrationInterface;
use Drupal\migrate\Row;

/**
 * Provides nulldest destination plugin.
 *
 * @MigrateDestination(
 *   id = "nulldestination"
 * )
 */
class NullDest extends DestinationBase {

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

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

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

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc