You are here

public function UserDataCollector::getUserName in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::getUserName()
  2. 8.2 webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::getUserName()
  3. 4.x webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::getUserName()

Return value

\Drupal\Core\Session\AccountInterface

1 call to UserDataCollector::getUserName()
UserDataCollector::getPanelSummary in webprofiler/src/DataCollector/UserDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/UserDataCollector.php, line 82

Class

UserDataCollector
Class UserDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function getUserName() {
  return $this->data['name'];
}