You are here

view_loop_test_invalid_display.export.txt in Views Rules 7

{ "view_loop_test_invalid_display" : {
    "PLUGIN" : "action set",
    "REQUIRES" : [ "views_rules", "rules" ],
    "USES VARIABLES" : {
      "term" : { "type" : "taxonomy_term", "label" : "Term" },
      "list" : { "type" : "list", "label" : "List", "parameter" : false }
    },
    "ACTION SET" : [
      { "VIEW LOOP" : {
          "VIEW" : "views_rules_test",
          "DISPLAY" : "missing_display",
          "USING" : { "tid" : [ "term:tid" ], "type" : "article" },
          "ROW VARIABLES" : { "nid" : { "nid" : "Node ID" }, "title" : { "title" : "Title" } },
          "DO" : [ { "list_add" : { "list" : [ "list" ], "item" : [ "title" ] } } ]
        }
      }
    ],
    "PROVIDES VARIABLES" : [ "list" ]
  }
}

File

tests/view_loop_test_invalid_display.export.txt
View source
  1. { "view_loop_test_invalid_display" : {
  2. "PLUGIN" : "action set",
  3. "REQUIRES" : [ "views_rules", "rules" ],
  4. "USES VARIABLES" : {
  5. "term" : { "type" : "taxonomy_term", "label" : "Term" },
  6. "list" : { "type" : "list", "label" : "List", "parameter" : false }
  7. },
  8. "ACTION SET" : [
  9. { "VIEW LOOP" : {
  10. "VIEW" : "views_rules_test",
  11. "DISPLAY" : "missing_display",
  12. "USING" : { "tid" : [ "term:tid" ], "type" : "article" },
  13. "ROW VARIABLES" : { "nid" : { "nid" : "Node ID" }, "title" : { "title" : "Title" } },
  14. "DO" : [ { "list_add" : { "list" : [ "list" ], "item" : [ "title" ] } } ]
  15. }
  16. }
  17. ],
  18. "PROVIDES VARIABLES" : [ "list" ]
  19. }
  20. }