You are here

protected function MediaWikiInstaller::inflectSkinVars in Zircon Profile 8

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

File

vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php, line 43

Class

MediaWikiInstaller

Namespace

Composer\Installers

Code

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