ModulesListForm::$currentUser

Same name in other branches
  1. 8.9.x core/modules/system/src/Form/ModulesListForm.php \Drupal\system\Form\ModulesListForm::currentUser
  2. 10 core/modules/system/src/Form/ModulesListForm.php \Drupal\system\Form\ModulesListForm::currentUser
  3. 11.x core/modules/system/src/Form/ModulesListForm.php \Drupal\system\Form\ModulesListForm::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/system/src/Form/ModulesListForm.php, line 46

Class

ModulesListForm
Provides module installation interface.

Namespace

Drupal\system\Form

Code

protected $currentUser;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.