Feature/template cleaner
2 issues occured during development in utbw:
-
When a node, that is set as reference in a template entity, is deleted, the template still exists. This leads to exceptions in all template forms. Would be nice, to purge it on node deletion. For now i came up with a simple form, that deletes templates with invalid references.
-
Templates can only be used, if editor has the permission to create new nodes of given type. I think it makes sense to distinguish here. With my patch for
quick_node_clone
i remove the check for this permission.
https://www.drupal.org/project/quick_node_clone/issues/3171555
Both issues deserve a nicer solution, but i needed a quick fix i can use in utbw project.
Edited by Arthur Lorenz