Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "rules_facility_modal_contact_form_email_redirect" : {
- "LABEL" : "Facility Modal Contact Form Email Redirect",
- "PLUGIN" : "reaction rule",
- "OWNER" : "rules",
- "REQUIRES" : [ "rules", "entityform" ],
- "ON" : { "entityform_insert" : [] },
- "IF" : [
- { "entity_is_of_bundle" : {
- "entity" : [ "entityform" ],
- "type" : "entityform",
- "bundle" : { "value" : { "facility_modal_contact_form" : "facility_modal_contact_form" } }
- }
- }
- ],
- "DO" : [
- { "entity_fetch" : {
- "USING" : {
- "type" : "node",
- "id" : [ "entityform:field-facility-contacted:nid" ],
- "revision_id" : [ "entityform:field-facility-contacted:vid" ]
- },
- "PROVIDE" : { "entity_fetched" : { "fetched" : "Fetched entity" } }
- }
- },
- { "component_rules_fetched_node" : {
- "facility" : [ "fetched" ],
- "facility_modal_contact_form" : [ "entityform" ]
- }
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement