You are here

function domain_theme_domainlinks in Domain Access 6.2

Same name and namespace in other branches
  1. 5 domain_theme/domain_theme.module \domain_theme_domainlinks()
  2. 7.2 domain_theme/domain_theme.module \domain_theme_domainlinks()

Implement hook_domainlinks()

File

domain_theme/domain_theme.module, line 143
Domain Theme module for the Domain Access module group.

Code

function domain_theme_domainlinks($domain) {
  if ($domain['domain_id'] > 0) {
    $links[] = array(
      'title' => t('theme'),
      'path' => 'admin/build/domain/theme/' . $domain['domain_id'],
    );
    return $links;
  }
  return FALSE;
}