You are here

public function SiteAuditCheckUsersWhoIsNumberOne::getResultInfo in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Users/WhoIsNumberOne.php \SiteAuditCheckUsersWhoIsNumberOne::getResultInfo()

Implements \SiteAudit\Check\Abstract\getResultInfo().

Overrides SiteAuditCheckAbstract::getResultInfo

File

Check/Users/WhoIsNumberOne.php, line 38
Contains \SiteAudit\Check\Users\WhoIsNumberOne.

Class

SiteAuditCheckUsersWhoIsNumberOne
Class SiteAuditCheckUsersWhoIsNumberOne.

Code

public function getResultInfo() {
  return dt('UID #1: @name, email: @mail', array(
    '@name' => $this->registry['uid_1']
      ->get('name')->value,
    '@mail' => $this->registry['uid_1']
      ->get('mail')->value,
  ));
}