public function FileRemoteImage::__construct in Migrate Files (extended) 8
Same name and namespace in other branches
- 2.0.x src/Plugin/migrate/process/FileRemoteImage.php \Drupal\migrate_file\Plugin\migrate\process\FileRemoteImage::__construct()
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides FileRemoteUrl::__construct
File
- src/
Plugin/ migrate/ process/ FileRemoteImage.php, line 48
Class
- FileRemoteImage
- Create an image file entity with a remote url without downloading the file.
Namespace
Drupal\migrate_file\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
$configuration += [
'uid' => 0,
'width' => NULL,
'height' => NULL,
];
parent::__construct($configuration, $plugin_id, $plugin_definition);
}