public function SupportTicketStorageInterface::updateType in Support Ticketing System 8
Updates all support tickets of one type to be of another type.
Parameters
string $old_type: The current support ticket type of the support tickets.
string $new_type: The new support ticket type of the support tickets.
Return value
int The number of support tickets whose support ticket type field was modified.
1 method overrides SupportTicketStorageInterface::updateType()
- SupportTicketStorage::updateType in modules/
support_ticket/ src/ SupportTicketStorage.php - Updates all support tickets of one type to be of another type.
File
- modules/
support_ticket/ src/ SupportTicketStorageInterface.php, line 63 - Contains \Drupal\support_ticket\SupportTicketStorageInterface.
Class
- SupportTicketStorageInterface
- Defines an interface for support ticket entity storage classes.
Namespace
Drupal\support_ticketCode
public function updateType($old_type, $new_type);