You are here

public function SupportTicket::isLocked in Support Ticketing System 8

Returns the support ticket locked status.

Return value

bool TRUE if the support ticket is locked.

Overrides SupportTicketInterface::isLocked

File

modules/support_ticket/src/Entity/SupportTicket.php, line 188
Contains \Drupal\support_ticket\Entity\SupportTicket.

Class

SupportTicket
Defines the support ticket entity class.

Namespace

Drupal\support_ticket\Entity

Code

public function isLocked() {
  return (bool) $this
    ->get('locked')->value;
}