You are here

protected function OctoberInstaller::inflectPluginVars in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php \Composer\Installers\OctoberInstaller::inflectPluginVars()
1 call to OctoberInstaller::inflectPluginVars()
OctoberInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
Format package name.

File

vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php, line 33

Class

OctoberInstaller

Namespace

Composer\Installers

Code

protected function inflectPluginVars($vars) {
  $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
  return $vars;
}