protected function DemoImage::getDestinationPath in Panopoly 8.2
Gets the destination path.
Return value
string The destination path (using a stream wrapper).
1 call to DemoImage::getDestinationPath()
- DemoImage::transform in modules/
panopoly/ panopoly_core/ src/ Plugin/ migrate/ process/ DemoImage.php - Performs the associated process.
File
- modules/
panopoly/ panopoly_core/ src/ Plugin/ migrate/ process/ DemoImage.php, line 121
Class
- DemoImage
- Process plugin for creating demo images from files in the module.
Namespace
Drupal\panopoly_core\Plugin\migrate\processCode
protected function getDestinationPath() {
if (!empty($this->configuration['destination_path'])) {
return $this
->removeTrailing($this->configuration['destination_path']);
}
return 'public://demo';
}