You are here

function popup_onload_action_display_popup in Popup On Load 7

Action to display a popup.

File

./popup_onload.rules.inc, line 73
Rules-related hooks and functions.

Code

function popup_onload_action_display_popup($popup_onload, $context = []) {
  $popup_settings = popup_onload_prepare_popup($popup_onload);
  popup_onload_add_popup($popup_settings);
  popup_onload_save_time_cookie($popup_onload);
}