function ModulesEnabledTrait::currentUser
Same name in other branches
- 9 core/modules/system/src/Form/ModulesEnabledTrait.php \Drupal\system\Form\ModulesEnabledTrait::currentUser()
- 11.x core/modules/system/src/Form/ModulesEnabledTrait.php \Drupal\system\Form\ModulesEnabledTrait::currentUser()
Gets the current user.
Return value
\Drupal\Core\Session\AccountInterface The current user.
1 call to ModulesEnabledTrait::currentUser()
- ModulesEnabledTrait::modulesEnabledConfirmationMessage in core/
modules/ system/ src/ Form/ ModulesEnabledTrait.php - Provides a confirmation message after modules have been enabled.
File
-
core/
modules/ system/ src/ Form/ ModulesEnabledTrait.php, line 25
Class
- ModulesEnabledTrait
- Provides helpers for enabling modules.
Namespace
Drupal\system\FormCode
protected abstract function currentUser();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.