You are here

function _themekey_include_modules in ThemeKey 6

Function _themekey_include_modules().

2 calls to _themekey_include_modules()
_themekey_properties_resort in ./themekey_build.inc
Function _themekey_properties_resort().
_themekey_properties_set in ./themekey_build.inc
Function _themekey_properties_set().

File

./themekey_build.inc, line 79

Code

function _themekey_include_modules() {
  foreach (variable_get('themekey_modules', array(
    'themekey.node',
  )) as $module) {
    if (is_readable(drupal_get_path('module', 'themekey') . '/modules/' . $module . '.inc')) {
      require_once drupal_get_path('module', 'themekey') . '/modules/' . $module . '.inc';
    }
  }
}