Mercurial > hg > isophonics-drupal-site
comparison vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 7a779792577d |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
31 } | 31 } |
32 | 32 |
33 protected function inflectPluginVars($vars) | 33 protected function inflectPluginVars($vars) |
34 { | 34 { |
35 $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']); | 35 $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']); |
36 $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); | |
36 | 37 |
37 return $vars; | 38 return $vars; |
38 } | 39 } |
39 | 40 |
40 protected function inflectThemeVars($vars) | 41 protected function inflectThemeVars($vars) |