public function FileRemoteUrl::__construct in Migrate Files (extended) 8
Same name and namespace in other branches
- 2.0.x src/Plugin/migrate/process/FileRemoteUrl.php \Drupal\migrate_file\Plugin\migrate\process\FileRemoteUrl::__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 PluginBase::__construct
1 call to FileRemoteUrl::__construct()
- FileRemoteImage::__construct in src/
Plugin/ migrate/ process/ FileRemoteImage.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
1 method overrides FileRemoteUrl::__construct()
- FileRemoteImage::__construct in src/
Plugin/ migrate/ process/ FileRemoteImage.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
Plugin/ migrate/ process/ FileRemoteUrl.php, line 50
Class
- FileRemoteUrl
- Create a 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,
];
parent::__construct($configuration, $plugin_id, $plugin_definition);
}