domain_id($this->argument); } function summary_name($data) { return $this->domain_id($data->{$this->name_alias}); } function summary_argument($data) { return $this->domain_id($data->{$this->name_alias}); } function domain_id($domain_id) { $domains = domain_domains(); foreach ($domains as $domain) { $domain_options[$domain['domain_id']] = $domain['sitename']; } return isset($domain_options[$domain_id]) ? check_plain($domain_options[$domain_id]) : t('Unknown domain'); } }