You are here

function domain_conf_domainlinks in Domain Access 7.2

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

Implements hook_domainlinks()

File

domain_conf/domain_conf.module, line 121
Domain manager configuration options.

Code

function domain_conf_domainlinks($domain) {
  static $extra;
  if (!isset($extra)) {
    $extra = domain_conf_api();
  }
  if ($domain['domain_id'] > 0 || !empty($extra)) {
    $links[] = array(
      'title' => t('settings'),
      'path' => 'admin/structure/domain/conf/' . $domain['domain_id'],
    );
    return $links;
  }
  return FALSE;
}