protected property CacheExampleForm::$currentUser in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/cache_example/src/Form/CacheExampleForm.php \Drupal\cache_example\Form\CacheExampleForm::currentUser
The current user.
Type: \Drupal\Core\Session\AccountProxyInterface
File
- cache_example/
src/ Form/ CacheExampleForm.php, line 21
Class
- CacheExampleForm
- Form with examples on how to use cache.
Namespace
Drupal\cache_example\FormCode
protected $currentUser;