Deleting an entire folder (including subfolders)

Hello all, is there a setting to delete an entire folder including internal folders and files? I am pretty sure I had done this before, but now I cannot find that setting. Thank you in advance!

Select the folder and press the delete button on your keyboard or rightclick the folder and select 'Delete'.