Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When i used views_get_page_view, it return reference of current page view(Page created by Views).. but if i used views_embed_view to embed particular view on a page..then views_get_page_view return nothing..
Basically i want to know the View Name & display_id of a View if current page have any View as a page or as a block..
Comments
Comment #2
ankit.chadha77 CreditAttribution: ankit.chadha77 commentedComment #3
MustangGB CreditAttribution: MustangGB commentedHmm, I don't know that there is a way to do this out of the box.
You'd probably have to use one of the views hooks and create a list for yourself.