public function SupportTicketStorage::revisionIds in Support Ticketing System 8
Gets a list of support ticket revision IDs for a specific support ticket.
Parameters
\Drupal\support_ticket\SupportTicketInterface: The support ticket entity.
Return value
int[] Support ticket revision IDs (in ascending order).
Overrides SupportTicketStorageInterface::revisionIds
File
- modules/
support_ticket/ src/ SupportTicketStorage.php, line 25 - Contains \Drupal\support_ticket\SupportTicketStorage.
Class
- SupportTicketStorage
- Defines the controller class for support tickets.
Namespace
Drupal\support_ticketCode
public function revisionIds(SupportTicketInterface $support_ticket) {
return $this->database
->query('SELECT vid FROM {support_ticket_revision} WHERE stid=:stid ORDER BY vid', array(
':stid' => $support_ticket
->id(),
))
->fetchCol();
}