Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
214 * @var \Drupal\migrate\Plugin\MigratePluginManager | 214 * @var \Drupal\migrate\Plugin\MigratePluginManager |
215 */ | 215 */ |
216 protected $sourcePluginManager; | 216 protected $sourcePluginManager; |
217 | 217 |
218 /** | 218 /** |
219 * Thep process plugin manager. | 219 * The process plugin manager. |
220 * | 220 * |
221 * @var \Drupal\migrate\Plugin\MigratePluginManager | 221 * @var \Drupal\migrate\Plugin\MigratePluginManager |
222 */ | 222 */ |
223 protected $processPluginManager; | 223 protected $processPluginManager; |
224 | 224 |
408 /** | 408 /** |
409 * {@inheritdoc} | 409 * {@inheritdoc} |
410 */ | 410 */ |
411 public function getDestinationPlugin($stub_being_requested = FALSE) { | 411 public function getDestinationPlugin($stub_being_requested = FALSE) { |
412 if ($stub_being_requested && !empty($this->destination['no_stub'])) { | 412 if ($stub_being_requested && !empty($this->destination['no_stub'])) { |
413 throw new MigrateSkipRowException(); | 413 throw new MigrateSkipRowException('Stub requested but not made because no_stub configuration is set.'); |
414 } | 414 } |
415 if (!isset($this->destinationPlugin)) { | 415 if (!isset($this->destinationPlugin)) { |
416 $this->destinationPlugin = $this->destinationPluginManager->createInstance($this->destination['plugin'], $this->destination, $this); | 416 $this->destinationPlugin = $this->destinationPluginManager->createInstance($this->destination['plugin'], $this->destination, $this); |
417 } | 417 } |
418 return $this->destinationPlugin; | 418 return $this->destinationPlugin; |
551 unset($this->destinationPlugin); | 551 unset($this->destinationPlugin); |
552 } | 552 } |
553 $this->{$property_name} = $value; | 553 $this->{$property_name} = $value; |
554 return $this; | 554 return $this; |
555 } | 555 } |
556 | |
557 | 556 |
558 /** | 557 /** |
559 * {@inheritdoc} | 558 * {@inheritdoc} |
560 */ | 559 */ |
561 public function getProcess() { | 560 public function getProcess() { |