public function Context::getUser in Price 2.0.x
Gets the user.
Return value
\Drupal\Core\Session\AccountInterface The user.
File
- src/
Context.php, line 60
Class
- Context
- Contains known global information (user, time).
Namespace
Drupal\priceCode
public function getUser() : AccountInterface {
return $this->user;
}