You are here

public function SitewideAlertStorageInterface::userRevisionIds in Sitewide Alert 8

Gets a list of revision IDs having a given user as Sitewide Alert author.

Parameters

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

Return value

int[] Sitewide Alert revision IDs (in ascending order).

1 method overrides SitewideAlertStorageInterface::userRevisionIds()
SitewideAlertStorage::userRevisionIds in src/SitewideAlertStorage.php
Gets a list of revision IDs having a given user as Sitewide Alert author.

File

src/SitewideAlertStorageInterface.php, line 40

Class

SitewideAlertStorageInterface
Defines the storage handler class for Sitewide Alert entities.

Namespace

Drupal\sitewide_alert

Code

public function userRevisionIds(AccountInterface $account);