You are here

function support_ticket_revision_load in Support Ticketing System 8

Loads a support ticket revision from the database.

Parameters

int $vid: The support ticket revision id.

Return value

\Drupal\support_ticket\SupportTicketInterface|null A fully-populated support ticket entity, or NULL if the support ticket is not found.

File

modules/support_ticket/support_ticket.module, line 397
Enables use of support tickets with optional time tracking.

Code

function support_ticket_revision_load($vid = NULL) {
  return entity_revision_load('support_ticket', $vid);
}