protected function OctoberInstaller::inflectThemeVars in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
Composer\InstallersCode
protected function inflectThemeVars($vars) {
$vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
return $vars;
}