Beispiel #1
0
 /**
  * Gets an extension from the in extension repository
  * (the local extension storage)
  *
  * @param string $extensionKey
  * @return bool
  */
 protected function getExtensionFromInExtensionRepository($extensionKey)
 {
     if ($this->localExtensionStorage !== '' && is_dir($this->localExtensionStorage)) {
         $extList = \TYPO3\CMS\Core\Utility\GeneralUtility::get_dirs($this->localExtensionStorage);
         if (in_array($extensionKey, $extList)) {
             $this->managementService->markExtensionForCopy($extensionKey, $this->localExtensionStorage);
             return true;
         }
     }
     return false;
 }