You are here

function popup_onload_rules_condition_info in Popup On Load 7

Implements hook_rules_condition_info().

File

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

Code

function popup_onload_rules_condition_info() {
  return [
    'popup_onload_condition_check_cookie' => [
      'label' => t('Popup-on-load cookie is not set'),
      'parameter' => [
        'popup_onload' => [
          'type' => 'popup_onload',
          'label' => t('Popup-on-load entity'),
        ],
      ],
      'group' => t('Popup On Load'),
    ],
  ];
}