/** * @return string */ protected function determineInstallPath() { return $this->pluginConfig->get('cms-package-dir'); }
/** * Initialize the extension dir based on configuration */ protected function initializeExtensionDir() { $configDir = $this->filesystem->normalizePath($this->pluginConfig->get('config-dir')); $this->extensionDir = $configDir . DIRECTORY_SEPARATOR . self::TYPO3_EXT_DIR; }
/** * @param Config $event * @return string */ protected static function getInstallDir(Config $config) { return rtrim($config->get('web-dir'), '\\/') . '/'; }
/** * @return string * @throws \InvalidArgumentException */ public function getContent() { $includeFileFolder = dirname(dirname(__DIR__)) . '/res/php'; return $this->filesystem->findShortestPathCode($includeFileFolder, $this->typo3PluginConfig->get('web-dir'), true); }