You are here

abstract protected function MigrateFile::copyFile in Migrate 7.2

By whatever appropriate means, put the file in the right place.

Parameters

$destination: Destination path within Drupal.

Return value

bool TRUE if the file is successfully saved, FALSE otherwise.

1 call to MigrateFile::copyFile()
MigrateFile::processFile in plugins/destinations/file.inc
Default implementation of MigrateFileInterface::processFiles().
2 methods override MigrateFile::copyFile()
MigrateFileBlob::copyFile in plugins/destinations/file.inc
Implementation of MigrateFile::copyFile().
MigrateFileUri::copyFile in plugins/destinations/file.inc
Implementation of MigrateFile::copyFile().

File

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

Class

MigrateFile
Base class for creating core file entities.

Code

protected abstract function copyFile($destination);