You are here

function domain_theme_domainlinks in Domain Access 7.2

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

Implements hook_domainlinks()

File

domain_theme/domain_theme.module, line 148
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/structure/domain/theme/' . $domain['domain_id'],
    );
    return $links;
  }
  return FALSE;
}