Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Form.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10 
11 class Form extends \Magento\Customer\Controller\Address implements HttpGetActionInterface
12 {
18  public function execute()
19  {
21  $resultPage = $this->resultPageFactory->create();
22  $navigationBlock = $resultPage->getLayout()->getBlock('customer_account_navigation');
23  if ($navigationBlock) {
24  $navigationBlock->setActive('customer/address');
25  }
26  return $resultPage;
27  }
28 }