You are here

function popup_onload_rules_action_info in Popup On Load 7

Implements hook_rules_action_info().

File

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

Code

function popup_onload_rules_action_info() {
  return [
    'popup_onload_action_display_popup' => [
      'label' => t('Display a popup'),
      'parameter' => [
        'popup_onload' => [
          'type' => 'popup_onload',
          'label' => t('Popup On Load'),
        ],
      ],
      'group' => t('Popup On Load'),
    ],
  ];
}