You are here

public function NodeStorageInterface::userRevisionIds in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::userRevisionIds()
  2. 9 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\node

Code

public function userRevisionIds(AccountInterface $account);