protected function ContentHubExportQueueMessageSubscriber::currentUser in Acquia Content Hub 8
Obtains the current user.
Return value
\Drupal\Core\Session\AccountProxyInterface The current user object.
File
- src/
EventSubscriber/ ContentHubExportQueueMessageSubscriber.php, line 101
Class
- ContentHubExportQueueMessageSubscriber
- Class ContentHubExportQueueMessageSubscriber.
Namespace
Drupal\acquia_contenthub\EventSubscriberCode
protected function currentUser() {
return \Drupal::currentUser();
}