public function LoggerMock::setCurrentUser in Acquia Content Hub 8.2
Sets the current user.
Parameters
\Drupal\Core\Session\AccountInterface|null $current_user: The current user object.
Overrides LoggerChannelInterface::setCurrentUser
File
- tests/
src/ Unit/ Helpers/ LoggerMock.php, line 69
Class
- LoggerMock
- Mock Logger created for easy assertions of log messages.
Namespace
Drupal\Tests\acquia_contenthub\Unit\HelpersCode
public function setCurrentUser(AccountInterface $current_user = NULL) {
}