public function SupportTicketInterface::setLocked in Support Ticketing System 8
Sets the support ticket locked status.
Parameters
bool $locked: TRUE to lock this support ticket, FALSE to unlock this support ticket.
Return value
\Drupal\support_ticket\SupportTicketInterface The called support ticket entity.
1 method overrides SupportTicketInterface::setLocked()
- SupportTicket::setLocked in modules/
support_ticket/ src/ Entity/ SupportTicket.php - Sets the support ticket locked status.
File
- modules/
support_ticket/ src/ SupportTicketInterface.php, line 83 - Contains \Drupal\support_ticket\SupportTicketInterface.
Class
- SupportTicketInterface
- Provides an interface defining a support ticket entity.
Namespace
Drupal\support_ticketCode
public function setLocked($locked);