You are here

function opigno_simple_ui_theme_registry_alter in Opigno 7.0

Same name and namespace in other branches
  1. 7 modules/simple_ui/opigno_simple_ui.module \opigno_simple_ui_theme_registry_alter()

Implements hook_theme_registry_alter()

File

modules/opigno_simple_ui/opigno_simple_ui.module, line 93
Contains all hook definitions and module specific API

Code

function opigno_simple_ui_theme_registry_alter(&$registry) {
  $path = drupal_get_path('module', 'opigno_simple_ui');
  $registry['overlay']['template'] = "{$path}/theme/overlay";
  $registry['overlay']['theme path'] = $path;
  $registry['overlay']['preprocess functions'][] = 'opigno_simple_ui_preprocess_overlay';
}