It would be very useful if these two hooks could be allowed to return FALSE to block the addition or removal of a node.
Possible applications:
- only allow nodes into a featured block on the home page that have content in particular fields (such as an image)
- prevent a nodequeue from being empty
Comments
Comment #1
rory.davies commentedAnother use case :
I use Per Page Queue (a Nodequeue addon) to create and manage a subqueue (of articles) for each issue of a web newsletter. Once each issue has been published, I want to prevent further changes - that is, I need to prevent addition or deletion of articles in that subqueue.