2 namespace TYPO3\CMS\Lang\Domain\Repository;
60 public function findAll()
62 if (empty($this->extensions)) {
63 $extensions = $this->listUtility->getAvailableAndInstalledExtensionsWithAdditionalInformation();
66 $extension = $this->objectManager->get(
67 \TYPO3\CMS\Lang\Domain\Model\Extension::class,
72 $extension->setVersionFromString($entry[
'version']);
73 if ($entry[
'ext_icon_width'] > 0) {
74 $extension->setIconWidth($entry[
'ext_icon_width']);
76 if ($entry[
'ext_icon_height'] > 0) {
77 $extension->setIconHeight($entry[
'ext_icon_height']);
80 $this->extensions[$entry[
'key']] = $extension;
82 ksort($this->extensions);
108 $offset = (int)$offset;
123 $extensionIcon =
$GLOBALS[
'TYPO3_LOADED_EXT'][$extensionEntry[
'key']][
'ext_icon'];
124 if (empty($extensionIcon)) {
127 if (empty($extensionIcon)) {
128 $extensionIcon =
'/typo3/sysext/core/ext_icon.png';
130 $extensionIcon =
'../' . $extensionEntry[
'siteRelPath'] .
'/' . $extensionIcon;
132 return $extensionIcon;