You are here

public function TargetInterface::getPath in Drupal 7 to 8/9 Module Upgrader 8

Returns the path to a particular file, relative to the CWD.

Parameters

string $file: The file, relative to the module root. If $file begins with a period, it will be prefixed with the module name (.module --> MODULE.module)

Return value

string

1 method overrides TargetInterface::getPath()
Target::getPath in src/Target.php
Returns the path to a particular file, relative to the CWD.

File

src/TargetInterface.php, line 35

Class

TargetInterface
Represents a Drupal 7 module being run through the DMU.

Namespace

Drupal\drupalmoduleupgrader

Code

public function getPath($file);