You are here

function composer_deploy_theme_registry_alter in Composer Deploy 8

Implements hook_theme_registry_alter().

File

./composer_deploy.module, line 107

Code

function composer_deploy_theme_registry_alter(&$theme_registry) {
  if (isset($theme_registry['update_version'])) {
    $theme_registry['update_version']['type'] = 'module';
    $theme_registry['update_version']['path'] = drupal_get_path('module', 'composer_deploy') . '/templates';
    unset($theme_registry['update_version']['theme path']);
  }
}