public function SupportTicketType::setPreviewMode in Support Ticketing System 8
Sets the preview mode.
Parameters
int $preview_mode: DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.
Overrides SupportTicketTypeInterface::setPreviewMode
File
- modules/
support_ticket/ src/ Entity/ SupportTicketType.php, line 155 - Contains \Drupal\support_ticket\Entity\SupportTicketType.
Class
- SupportTicketType
- Defines the SupportTicket type configuration entity.
Namespace
Drupal\support_ticket\EntityCode
public function setPreviewMode($preview_mode) {
$this->preview_mode = $preview_mode;
}