public function IssueStorage::revisionIds in Drupal PM (Project Management) 4.x
Gets a list of Issue revision IDs for a specific Issue.
Parameters
\Drupal\pm_issue\Entity\IssueInterface $entity: The Issue entity.
Return value
int[] Issue revision IDs (in ascending order).
Overrides IssueStorageInterface::revisionIds
File
- modules/
pm_issue/ src/ IssueStorage.php, line 22
Class
- IssueStorage
- Defines the storage handler class for Issue entities.
Namespace
Drupal\pm_issueCode
public function revisionIds(IssueInterface $entity) {
return $this->database
->query('SELECT vid FROM {pm_issue_revision} WHERE id=:id ORDER BY vid', [
':id' => $entity
->id(),
])
->fetchCol();
}