Action "Show message" needs to be ported to Rules 8.x-3.x.

ActionBase currently supports only entities and until this is resolved "Show message" can not be implemented.

drupal_set_message requires these parameters and ActionBase can not provide them:

 function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE)

Comments

rinasek’s picture

rinasek’s picture

Assigned: rinasek » Unassigned
Issue summary: View changes
klausi’s picture

Status: Active » Needs review

Pull request: https://github.com/fago/rules/pull/46

There are a couple of todos in there, not all fixable.

klausi’s picture

Status: Needs review » Fixed

And merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dasjo’s picture

Title: Port "Drupal Message" to 8.x » Port "Drupal Message" action to D8