You are here

protected function OctoberInstaller::inflectThemeVars in Zircon Profile 8.0

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

File

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

Class

OctoberInstaller

Namespace

Composer\Installers

Code

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