You are here

function poptin_config in Website Popups, Email Popup, Exit-Intent Popup, and Contact Forms – Poptin 7

Implements poptin_config().

1 string reference to 'poptin_config'
poptin_menu in ./poptin.module
Implements poptin_menu().

File

./poptin.module, line 248
Module for adding popups on website.

Code

function poptin_config() {
  $custom_js_path = drupal_get_path('module', 'poptin') . '/js/poptincustom.js';
  $css_path = drupal_get_path('module', 'poptin') . '/css/poptin.css';
  drupal_add_js($custom_js_path);
  drupal_add_css($css_path);
  module_load_include('inc', 'poptin', 'includes/poptin');
  $html = poptin_render_html();
  return $html;
}