/** * Returns the URL where this page can be edited * * In this case we adjust the default page editor URL to ensure users are edited * only from the Access section. * * @return string * */ public function editUrl() { return str_replace('/page/edit/', '/access/users/edit/', parent::editUrl()); }