You are here

public function DataPolicyStorageInterface::userRevisionIds in Data Policy 8

Gets a list of revision IDs having a given user as Data policy author.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user entity.

Return value

int[] Data policy revision IDs (in ascending order).

1 method overrides DataPolicyStorageInterface::userRevisionIds()
DataPolicyStorage::userRevisionIds in src/DataPolicyStorage.php
Gets a list of revision IDs having a given user as Data policy author.

File

src/DataPolicyStorageInterface.php, line 40

Class

DataPolicyStorageInterface
Defines the storage handler class for Data policy entities.

Namespace

Drupal\data_policy

Code

public function userRevisionIds(AccountInterface $account);