I have created an extension that adds a custom tab in the adminhtml customer interface. After submitting the form on the page, how can I return the user to my custom tab instead of the default tab on customer edit.
This is the code I use to return to the customer edit page in my controller
$redirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
$redirect->setUrl($this->_redirect->getRefererUrl());
return $redirect;