You are here

function og_theme_registry_alter in Organic groups 6

Same name and namespace in other branches
  1. 6.2 og.module \og_theme_registry_alter()

File

./og.module, line 370

Code

function og_theme_registry_alter(&$variables) {

  // Check for og provided templates just before we use the default node.tpl.php
  array_splice($variables['node']['theme paths'], 1, 0, drupal_get_path('module', 'og') . '/theme');
}