You are here

public function MigrateDestinationFile::__construct in Migrate 7.2

Basic initialization

Parameters

array $options: Options applied to files.

Overrides MigrateDestinationEntity::__construct

File

plugins/destinations/file.inc, line 576
Support for file entity as destination. Note that File Fields have their own destination in fields.inc

Class

MigrateDestinationFile
Destination class implementing migration into the files table.

Code

public function __construct($bundle = 'file', $file_class = 'MigrateFileUri', $options = array()) {
  parent::__construct('file', $bundle, $options);
  $this->fileClass = $file_class;
}