In Drupal 7, is there a way either programmatically or through the UI to generate a list of all of the pages that display a particular view?

  • What do you mean by "instances"? The number of displays? – Clive Feb 13 '18 at 16:55
  • Yes, the number of times the view is used. – lane Feb 13 '18 at 18:56
  • @clive and the pages that view is displayed on. – lane Feb 13 '18 at 19:32

There is no way to do this through the UI and even to do it programmatically would be a tall order. Views can contain page, block, panel pane, and other types of display. Those displays can be embedded in pages via blocks, panels, or custom code.

If you have a specific view display in mind, e.g. a block, it would narrow the scope of the task, but the task would still be very difficult.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.