TYPO3 CMS  TYPO3_8-7
AboutController.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 
26 {
30  protected $defaultViewObjectName = BackendTemplateView::class;
31 
36 
41  {
42  $this->extensionRepository = $extensionRepository;
43  }
44 
50  protected function initializeView(ViewInterface $view)
51  {
53  parent::initializeView($view);
54  // Disable Path
55  $view->getModuleTemplate()->getDocHeaderComponent()->setMetaInformation([]);
56  }
57 
61  public function indexAction()
62  {
63  $this->view
64  ->assign('currentVersion', TYPO3_version)
65  ->assign('copyrightYear', TYPO3_copyright_year)
66  ->assign('donationUrl', TYPO3_URL_DONATE)
67  ->assign('loadedExtensions', $this->extensionRepository->findAllLoaded());
68  }
69 }
injectExtensionRepository(ExtensionRepository $extensionRepository)