public function SupportTicket::setTitle in Support Ticketing System 8
Sets the support ticket title.
Parameters
string $title: The support ticket title.
Return value
\Drupal\support_ticket\SupportTicketInterface The called support ticket entity.
Overrides SupportTicketInterface::setTitle
File
- modules/
support_ticket/ src/ Entity/ SupportTicket.php, line 165 - Contains \Drupal\support_ticket\Entity\SupportTicket.
Class
- SupportTicket
- Defines the support ticket entity class.
Namespace
Drupal\support_ticket\EntityCode
public function setTitle($title) {
$this
->set('title', $title);
return $this;
}