I am facing an issue regarding deactivating a feature which is having some page layouts. I am removing the page layout from the folder.
Here comes the problem, when I am trying to delete a page layout which is used to create a publishing page then I am not able to delete that page layout which is causing showing the page layout into the publishing page creation wizard after deactivating the feature.
Is it possible to do some workaround so that if I deactivate the feature then the page layout also will not display into the creation wizard.
Thanks.