You are here

function domain_theme_domain_warning in Domain Access 7.3

Implements hook_domain_warning().

File

domain_theme/domain_theme.domain.inc, line 66
Domain hooks for Domain Theme.

Code

function domain_theme_domain_warning() {
  $forms = array(
    'system_theme_settings',
  );
  $return = array();
  $theme = arg(3);
  if (empty($theme)) {
    return array();
  }
  foreach ($forms as $form) {
    $return[$form] = 'admin/structure/domain/view/%domain_id/theme/' . $theme . '/theme-settings';
  }
  return $return;
}