Chris@0: 'system/expressionengine/third_party/{$name}/', Chris@0: 'theme' => 'themes/third_party/{$name}/', Chris@0: ); Chris@0: Chris@0: private $ee3Locations = array( Chris@0: 'addon' => 'system/user/addons/{$name}/', Chris@0: 'theme' => 'themes/user/{$name}/', Chris@0: ); Chris@0: Chris@0: public function getInstallPath(PackageInterface $package, $frameworkType = '') Chris@0: { Chris@0: Chris@0: $version = "{$frameworkType}Locations"; Chris@0: $this->locations = $this->$version; Chris@0: Chris@0: return parent::getInstallPath($package, $frameworkType); Chris@0: } Chris@0: }