mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
29 lines
836 B
PHP
29 lines
836 B
PHP
<?php
|
|
/**
|
|
*
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Customer\Controller\Address;
|
|
|
|
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
|
|
|
|
class Form extends \Magento\Customer\Controller\Address implements HttpGetActionInterface
|
|
{
|
|
/**
|
|
* Address book form
|
|
*
|
|
* @return \Magento\Framework\Controller\ResultInterface
|
|
*/
|
|
public function execute()
|
|
{
|
|
/** @var \Magento\Framework\View\Result\Page $resultPage */
|
|
$resultPage = $this->resultPageFactory->create();
|
|
$navigationBlock = $resultPage->getLayout()->getBlock('customer_account_navigation');
|
|
if ($navigationBlock) {
|
|
$navigationBlock->setActive('customer/address');
|
|
}
|
|
return $resultPage;
|
|
}
|
|
}
|