src/Sitemap.php
public function getSettingsResponse()
    {
        $url = \craft\helpers\UrlHelper::cpUrl('settings/sitemap');
        return \Craft::$app->controller->redirect($url);
    }
public function getSettingsResponse()
    {
        $url = \craft\helpers\UrlHelper::cpUrl('settings/sitemap');
        return \Craft::$app->controller->redirect($url);
    }
Return the settings response (if some one clicks on the settings/plugin icon)