Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-multishipping
Controller
Checkout
Login.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Multishipping\Controller\Checkout
;
8
9
class
Login
extends
\Magento\Multishipping\Controller\Checkout
10
{
16
public
function
execute
()
17
{
18
if
($this->_objectManager->get(\
Magento
\Customer\Model\Session::class)->isLoggedIn()) {
19
$this->
_redirect
(
'*/*/'
);
20
return
;
21
}
22
23
$this->_view->loadLayout();
24
25
// set account create url
26
$loginForm = $this->_view->getLayout()->getBlock(
'customer.new'
);
27
if
($loginForm) {
28
$loginForm->setCreateAccountUrl($this->
_getHelper
()->getMSRegisterUrl());
29
}
30
$this->_view->renderLayout();
31
}
32
}
Magento\Framework\App\Action\Action\_redirect
_redirect($path, $arguments=[])
Definition:
Action.php:167
Magento\Multishipping\Controller\Checkout
Definition:
CheckItemsTest.php:8
Magento\Multishipping\Controller\Checkout\Login\execute
execute()
Definition:
Login.php:16
Magento\Multishipping\Controller\Checkout
Definition:
Checkout.php:18
Magento\Multishipping\Controller\Checkout\_getHelper
_getHelper()
Definition:
Checkout.php:68
Magento
Magento\Multishipping\Controller\Checkout\Login
Definition:
Login.php:9