public function UserDataCollector::getRoles in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::getRoles()
- 8.2 webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::getRoles()
- 4.x webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::getRoles()
Return value
array
File
- webprofiler/
src/ DataCollector/ UserDataCollector.php, line 96
Class
- UserDataCollector
- Class UserDataCollector
Namespace
Drupal\webprofiler\DataCollectorCode
public function getRoles() {
return $this->data['roles'];
}