2 namespace TYPO3\CMS\Extensionmanager\Controller;
49 parent::initializeView($view);
51 $this->registerDocheaderButtons();
62 $extensionKey = $extension->getExtensionKey();
64 $active = $this->packageManager->isPackageActive($extensionKey);
68 $uriBuilder = $this->controllerContext->getUriBuilder();
69 $action =
'showConfigurationForm';
72 array(
'extension' => array(
'key' => $extensionKey)),
76 $configurationLink =
false;
78 $this->view->assign(
'distributionActive', $active);
79 $this->view->assign(
'configurationLink', $configurationLink);
80 $this->view->assign(
'extension', $extension);
89 protected function registerDocheaderButtons()
92 $buttonBar = $this->view->getModuleTemplate()->getDocHeaderComponent()->getButtonBar();
94 $uriBuilder = $this->controllerContext->getUriBuilder();
96 $uri =
$uriBuilder->reset()->uriFor(
'distributions', [],
'List');
97 $title = $this->
translate(
'extConfTemplate.backToList');
98 $icon = $this->view->getModuleTemplate()->getIconFactory()->getIcon(
'actions-view-go-back',
Icon::SIZE_SMALL);
99 $button = $buttonBar->makeLinkButton()