protected property PagerExamplePage::$currentUser in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/pager_example/src/Controller/PagerExamplePage.php \Drupal\pager_example\Controller\PagerExamplePage::currentUser
The current user.
Type: \Drupal\Core\Session\AccountInterface
Overrides ControllerBase::$currentUser
File
- pager_example/
src/ Controller/ PagerExamplePage.php, line 32
Class
- PagerExamplePage
- Controller for pager_example.page route.
Namespace
Drupal\pager_example\ControllerCode
protected $currentUser;