Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
All Data Structures Namespaces Files Functions Variables Pages
ContactForm.php
Go to the documentation of this file.
1 <?php
7 
9 
16 class ContactForm extends Template
17 {
22  public function __construct(Template\Context $context, array $data = [])
23  {
24  parent::__construct($context, $data);
25  $this->_isScopePrivate = true;
26  }
27 
33  public function getFormAction()
34  {
35  return $this->getUrl('contact/index/post', ['_secure' => true]);
36  }
37 }
__construct(Template\Context $context, array $data=[])
Definition: ContactForm.php:22