Skip to main content
1 of 4
brainHax
  • 661
  • 5
  • 18

how to delete the nodes having a specific entity reference but not the parent

I have a content type "students" and another "courses".

Student nodes are created with an entity reference to a course node.

I need to delete all students of "couses123" in a quick way.

Is there a module for it ? If not then how can i make a view which has a dropdown of all course names and when selected it shows list of all students.

Then may be i can use the VBO to show a checkbox next to them for selection and deletion .

any clues ? thanks

brainHax
  • 661
  • 5
  • 18