public function UserDataCollector::__construct in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::__construct()
- 8.2 webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::__construct()
- 4.x webprofiler/src/DataCollector/UserDataCollector.php \Drupal\webprofiler\DataCollector\UserDataCollector::__construct()
Parameters
\Drupal\Core\Session\AccountInterface $current_user:
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
\Drupal\Core\Authentication\AuthenticationCollectorInterface $provider_collector:
File
- webprofiler/
src/ DataCollector/ UserDataCollector.php, line 48
Class
- UserDataCollector
- Class UserDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function __construct(AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, AuthenticationCollectorInterface $provider_collector) {
$this->currentUser = $current_user;
$this->entityTypeManager = $entity_type_manager;
$this->configFactory = $config_factory;
$this->providerCollector = $provider_collector;
}