Redirect to “All Posts” list when pressing “Save Draft” and “Publish Changes”

Hello
This has been asked previously but I am unable to find if it has been changed.
I would like to redirect to “All Posts” list when pressing “Done” and “Publish Changes” in “Page Builder” rather than viewing the post.

Currently after I press Publish or Save Draft I just see the post ( that i was already seeing in editor ) and than if i want to modify another post i have to go to admin than click “All posts” than search the list again then click on the post i want to modify.

Is there a hook or filter I can you to change this action?

Copy the code to function file of child theme

//redirection after create
add_action('save_post','redirect_page');
    function redirect_page(){
    $type=  get_post_type();

    switch ($type){
    case "post":
        $url=  admin_url().'edit.php?msg=post';
        wp_redirect($url);
        exit;
    break;
    case "product":
        $url=  admin_url().'edit.php?post_type=product&msg=page';
        wp_redirect($url);
        exit;
    break;
    case "page":
        $url=  admin_url().'edit.php?post_type=page&msg=page';
        wp_redirect($url);
        exit;
    break;
    }
}