You are here

public function OpignoAnswerStorageInterface::userRevisionIds in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/OpignoAnswerStorageInterface.php \Drupal\opigno_module\OpignoAnswerStorageInterface::userRevisionIds()

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

Parameters

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

Return value

int[] Answer revision IDs (in ascending order).

1 method overrides OpignoAnswerStorageInterface::userRevisionIds()
OpignoAnswerStorage::userRevisionIds in src/OpignoAnswerStorage.php
Gets a list of revision IDs having a given user as Answer author.

File

src/OpignoAnswerStorageInterface.php, line 40

Class

OpignoAnswerStorageInterface
Defines the storage handler class for Answer entities.

Namespace

Drupal\opigno_module

Code

public function userRevisionIds(AccountInterface $account);