How to run code after hook_node_delete has completely run?
I have a node to which I have a number of images attached through the usual content type image field mechanism. The attachment is done correctly, such that when I delete the node, the images are also deleted. My problem is that these images are held in a subdirectory, which is not deleted by the file deletion process, and I end up with a bunch of e...
How do I run queries against a view configuration
Where is all the config for Views stored? I am working on a Drupal site with a very large number of Views. What's the easiest way to find "All the Views which have a Relation of a certain type", or "All the Views which output a specific field?" It would be nice to do this with some SQL but I'm stumped as to how.