While developing a site with Drupal, at times I'd like to disable a content type without removing it. I just want to disable one.
The database table where content types are stored is
node_type. And there's a column
disabled in it. We can disabled a content type by changing the column value to 1.
There are APIs for that. We can use
node_type_save() to do it.