public function MongodbNodeStorage::userRevisionIds in MongoDB 8
Gets a list of revision IDs having a given user as node author.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user entity.
Return value
int[] Node revision IDs (in ascending order).
Overrides NodeStorageInterface::userRevisionIds
File
- mongodb_node/
src/ MongodbNodeStorage.php, line 25 - Contains \Drupal\node\MongodbNodeStorage.
Class
Namespace
Drupal\mongodb_nodeCode
public function userRevisionIds(AccountInterface $account) {
return $this
->revisionQueryIds([
'values.uid' => $account
->id(),
]);
}