function NodeStorage::userRevisionIds
Same name in other branches
- 9 core/modules/node/src/NodeStorage.php \Drupal\node\NodeStorage::userRevisionIds()
- 8.9.x core/modules/node/src/NodeStorage.php \Drupal\node\NodeStorage::userRevisionIds()
- 11.x core/modules/node/src/NodeStorage.php \Drupal\node\NodeStorage::userRevisionIds()
Overrides NodeStorageInterface::userRevisionIds
File
-
core/
modules/ node/ src/ NodeStorage.php, line 30
Class
- NodeStorage
- Defines the storage handler class for nodes.
Namespace
Drupal\nodeCode
public function userRevisionIds(AccountInterface $account) {
return $this->database
->query('SELECT [vid] FROM {' . $this->getRevisionDataTable() . '} WHERE [uid] = :uid ORDER BY [vid]', [
':uid' => $account->id(),
])
->fetchCol();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.