Content types already have a disabled property:
{
"_config_name": "node.type.page",
"type": "page",
"name": "Page",
"description": "Add a page with static content, like the 'About' page.",
"settings": {
...
},
"base": "node_content",
"module": "node",
"node_preview": "1",
"help": "",
"modified": true,
"disabled": false, <----- HERE!
"has_title": true,
"title_label": "Title",
"orig_type": "page"
}
But we are not exposing any way to enable/disable content types in the UI. Lets do that
Related article: Drupal 7: How to disable a content type
The database table where content types are stored is
node_type. And there's a columndisabledin it. We can disable a content type by changing the column value to1.
GitHub Issue #:
3883
Recent comments
I adjusted the subject slightly.
CKEditor Inline Images not saved as Permanent in Term descriptions
It looks like it's a known issue with a PR. You might want to test this PR and respond in the issue itself.
CKEditor Inline Images not saved as Permanent in Term descriptions
Actually, that caused me to look a bit closer. This is in description fields on taxonomy terms. It looks like it doesn't do that on standard nodes. I am building a "catalog" (although it...
CKEditor Inline Images not saved as Permanent in Term descriptions