You are here

public function SupportTicketTypeInterface::setPreviewMode in Support Ticketing System 8

Sets the preview mode.

Parameters

int $preview_mode: DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.

1 method overrides SupportTicketTypeInterface::setPreviewMode()
SupportTicketType::setPreviewMode in modules/support_ticket/src/Entity/SupportTicketType.php
Sets the preview mode.

File

modules/support_ticket/src/SupportTicketTypeInterface.php, line 71
Contains \Drupal\support_ticket\SupportTicketTypeInterface.

Class

SupportTicketTypeInterface
Provides an interface defining a support ticket type entity.

Namespace

Drupal\support_ticket

Code

public function setPreviewMode($preview_mode);