You are here

public function UserDataCollector::getRoles in Devel 4.x

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

Return value

array

File

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

Class

UserDataCollector
Class UserDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

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