diff core/modules/migrate/src/Plugin/Migration.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents c2387f117808
children af1871eacc83
line wrap: on
line diff
--- a/core/modules/migrate/src/Plugin/Migration.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/migrate/src/Plugin/Migration.php	Thu Feb 28 13:21:36 2019 +0000
@@ -216,7 +216,7 @@
   protected $sourcePluginManager;
 
   /**
-   * Thep process plugin manager.
+   * The process plugin manager.
    *
    * @var \Drupal\migrate\Plugin\MigratePluginManager
    */
@@ -410,7 +410,7 @@
    */
   public function getDestinationPlugin($stub_being_requested = FALSE) {
     if ($stub_being_requested && !empty($this->destination['no_stub'])) {
-      throw new MigrateSkipRowException();
+      throw new MigrateSkipRowException('Stub requested but not made because no_stub configuration is set.');
     }
     if (!isset($this->destinationPlugin)) {
       $this->destinationPlugin = $this->destinationPluginManager->createInstance($this->destination['plugin'], $this->destination, $this);
@@ -554,7 +554,6 @@
     return $this;
   }
 
-
   /**
    * {@inheritdoc}
    */