public function getLocationReplacements() { $destinationTmpDir =
$this->
mkTmpDir('location-replacements'
);
$interpolator =
new Interpolator();
$interpolator->
setData(['web-root' =>
$destinationTmpDir, 'package-name' => 'fixtures/tmp-destination'
]);
return $interpolator;
} /**
* Creates a ReplaceOp fixture.
*
* @param string $project_name
* The name of the project to fetch; $package_name is
* "fixtures/$project_name".
* @param string $source
* The name of the asset; path is "assets/$source".
*
* @return \Drupal\Composer\Plugin\Scaffold\Operations\ReplaceOp
* A replace operation object.
*/