protected function DrupalFile5Migration::fixUri in Drupal-to-Drupal data migration 7.2
File
- d5/
file.inc, line 40 - Implementation of DrupalFileMigration for Drupal 5 sources.
Class
- DrupalFile5Migration
- @file Implementation of DrupalFileMigration for Drupal 5 sources.
Code
protected function fixUri($uri) {
// Get the URI relative the the file directory
$result = str_replace($this->legacyPath, '', $uri);
return $result;
}