public static function Log::getCurrentUserId in Log entity 2.x
Same name and namespace in other branches
- 8 src/Entity/Log.php \Drupal\log\Entity\Log::getCurrentUserId()
File
- src/
Entity/ Log.php, line 157
Class
- Log
- Defines the Log entity.
Namespace
Drupal\log\EntityCode
public static function getCurrentUserId() {
return [
\Drupal::currentUser()
->id(),
];
}