function ScaffoldFilePath::relativePath
Same name in other branches
- 9 composer/Plugin/Scaffold/ScaffoldFilePath.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath::relativePath()
- 8.9.x composer/Plugin/Scaffold/ScaffoldFilePath.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath::relativePath()
- 10 composer/Plugin/Scaffold/ScaffoldFilePath.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath::relativePath()
Gets the relative path to the source file (best to use in messages).
Return value
string Relative path to file.
1 call to ScaffoldFilePath::relativePath()
- ScaffoldFilePath::addInterpolationData in composer/
Plugin/ Scaffold/ ScaffoldFilePath.php - Adds data about the relative and full path to the provided interpolator.
File
-
composer/
Plugin/ Scaffold/ ScaffoldFilePath.php, line 94
Class
- ScaffoldFilePath
- Manage the path to a file to scaffold.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function relativePath() {
return $this->relativePath;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.