function NodeStorageInterface::userRevisionIds
Same name in other branches
- 8.9.x core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::userRevisionIds()
- 10 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::userRevisionIds()
- 11.x core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::userRevisionIds()
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).
1 method overrides NodeStorageInterface::userRevisionIds()
- NodeStorage::userRevisionIds in core/
modules/ node/ src/ NodeStorage.php - Gets a list of revision IDs having a given user as node author.
File
-
core/
modules/ node/ src/ NodeStorageInterface.php, line 34
Class
- NodeStorageInterface
- Defines an interface for node entity storage classes.
Namespace
Drupal\nodeCode
public function userRevisionIds(AccountInterface $account);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.