public function Target::getBasePath in Drupal 7 to 8/9 Module Upgrader 8
Returns the base path of the target module.
Return value
string
Overrides TargetInterface::getBasePath
3 calls to Target::getBasePath()
- Target::getFinder in src/
Target.php - Returns a fully configured Finder which can iterate over the target module's code files. Any file type which doesn't contain PHP code should be ignored.
- Target::getPath in src/
Target.php - Returns the path to a particular file, relative to the CWD.
- Target::id in src/
Target.php - Returns the machine name of the target module.
File
- src/
Target.php, line 95
Class
- Target
- Default implementation of TargetInterface.
Namespace
Drupal\drupalmoduleupgraderCode
public function getBasePath() {
return $this->basePath;
}