I have a section <MySection>
defined in system.xml
, and a menu item called Settings
in menu.xml
. <MySection>
can be found in Mangento Admin: Stores->Configuration->MySection
, The link for the Setting
should be the url of <MySection>
. I have tried to add
action='admin/system_config/edit/section/'
, but it doesn't work as the key in url is different. I have also tried to redirect to that link in controller by doing:
$resultRedirect = $this->resultRedirectFactory->create(); $resultRedirect->setUrl('/admin/admin/system_config/edit/section/easytranslationplatform'); return $resultRedirect;
it failed as well. So, my question is that how to add a menu item that can link to Store->Configuration-><mySection>
page.
Best Answer
You can use
action="adminhtml/system_config/edit/section/YOUR_SECTION_NAME"