You are here

public function SupportTicketType::id in Support Ticketing System 8

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides EntityBase::id

1 call to SupportTicketType::id()
SupportTicketType::postSave in modules/support_ticket/src/Entity/SupportTicketType.php
Acts on a saved entity before the insert or update hook is invoked.

File

modules/support_ticket/src/Entity/SupportTicketType.php, line 105
Contains \Drupal\support_ticket\Entity\SupportTicketType.

Class

SupportTicketType
Defines the SupportTicket type configuration entity.

Namespace

Drupal\support_ticket\Entity

Code

public function id() {
  return $this->type;
}