You are here

protected function FixerBase::getUnaliasedPath in Drupal 7 to 8/9 Module Upgrader 8

3 calls to FixerBase::getUnaliasedPath()
CreateClass::execute in src/Plugin/DMU/Fixer/CreateClass.php
Executes the plugin.
Define::execute in src/Plugin/DMU/Fixer/Define.php
Executes the plugin.
HookToYAML::execute in src/Plugin/DMU/Fixer/HookToYAML.php
Executes the plugin.

File

src/FixerBase.php, line 25

Class

FixerBase
Base class for fixers, containing a lot of helpful utilities.

Namespace

Drupal\drupalmoduleupgrader

Code

protected function getUnaliasedPath($path) {
  return preg_replace('/^~/', $this->target
    ->getBasePath(), $path);
}