In Magento2.1.10 I am trying to make admin grid module and found below function in given path


public function getFormActionUrl(){
        if ($this->hasFormActionUrl()) {
            return $this->getData('form_action_url');

        return $this->getUrl('*/*/save');

How this method is used in Magento 2 form?


From the Magento\Backend\Block\Widget\Form\Container I can see there is one method getFormActionUrl() and it is used by getSaveUrl() so it used to get form save URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.