You are here

public function SupportTicketInterface::setPublished in Support Ticketing System 8

Sets the published status of a support ticket.

Parameters

bool $published: TRUE to set this support ticket to published, FALSE to set it to unpublished.

Return value

\Drupal\suport\SupportTicketInterface The called support ticket entity.

1 method overrides SupportTicketInterface::setPublished()
SupportTicket::setPublished in modules/support_ticket/src/Entity/SupportTicket.php
Sets the published status of a support ticket.

File

modules/support_ticket/src/SupportTicketInterface.php, line 104
Contains \Drupal\support_ticket\SupportTicketInterface.

Class

SupportTicketInterface
Provides an interface defining a support ticket entity.

Namespace

Drupal\support_ticket

Code

public function setPublished($published);