You are here

function opigno_wt_app_init in Opigno WYSIWYG Templates App 7

Implements hook_init().

File

./opigno_wt_app.module, line 11
Module hooks and logic.

Code

function opigno_wt_app_init() {

  // Add our CSS in hook_init() instead of our .info file. We want our CSS to be inside the
  // theme group so it's picked up by the WYSIWYG editor, providing a better user experience.
  drupal_add_css(drupal_get_path('module', 'opigno_wt_app') . '/css/opigno_wt_app.css', array(
    'group' => CSS_THEME,
  ));
}