Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / migrate / src / Plugin / migrate / destination / NullDestination.php
1 <?php
2
3 namespace Drupal\migrate\Plugin\migrate\destination;
4
5 use Drupal\migrate\Plugin\MigrationInterface;
6 use Drupal\migrate\Row;
7
8 /**
9  * Provides null destination plugin.
10  *
11  * @MigrateDestination(
12  *   id = "null",
13  *   requirements_met = false
14  * )
15  */
16 class NullDestination extends DestinationBase {
17
18   /**
19    * {@inheritdoc}
20    */
21   public function getIds() {
22     return [];
23   }
24
25   /**
26    * {@inheritdoc}
27    */
28   public function fields(MigrationInterface $migration = NULL) {
29     return [];
30   }
31
32   /**
33    * {@inheritdoc}
34    */
35   public function import(Row $row, array $old_destination_id_values = []) {
36   }
37
38 }