Controller for Setup Landing page
Definition at line 14 of file LandingInstaller.php.
◆ __construct()
- Parameters
-
\Magento\Framework\App\ProductMetadata | $productMetadata | |
Definition at line 24 of file LandingInstaller.php.
◆ indexAction()
- Returns
- array|ViewModel
Definition at line 32 of file LandingInstaller.php.
34 $welcomeMsg =
"Welcome to Magento Admin, your online store headquarters.<br>" 35 .
"Click 'Agree and Set Up Magento' or read ";
36 $docRef =
"http://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html";
37 $agreeButtonText =
"Agree and Setup Magento";
38 $view =
new ViewModel;
39 $view->setTerminal(
true);
40 $view->setTemplate(
'/magento/setup/landing.phtml');
41 $view->setVariable(
'version', $this->productMetadata->getVersion());
42 $view->setVariable(
'welcomeMsg', $welcomeMsg);
43 $view->setVariable(
'docRef', $docRef);
44 $view->setVariable(
'agreeButtonText', $agreeButtonText);
◆ $productMetadata
The documentation for this class was generated from the following file: