projectFixtureDir example


  public function sourcePath($project_name$source) {
    $package_name = "fixtures/{$project_name}";
    $source_rel_path = "assets/{$source}";
    $package_path = $this->projectFixtureDir($project_name);
    return ScaffoldFilePath::sourcePath($package_name$package_path, 'unknown', $source_rel_path);
  }

  /** * Gets an Interpolator with 'web-root' and 'package-name' set. * * Use in place of ManageOptions::getLocationReplacements(). * * @return \Drupal\Composer\Plugin\Scaffold\Interpolator * An interpolator with location replacements, including 'web-root'. * * @see \Drupal\Composer\Plugin\Scaffold\ManageOptions::getLocationReplacements() */
Home | Imprint | This part of the site doesn't use cookies.