public function EventType::id in RNG - Events and Registrations 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
File
- src/
Entity/ EventType.php, line 307  
Class
- EventType
 - Defines the event type entity.
 
Namespace
Drupal\rng\EntityCode
public function id() {
  return $this
    ->getEventEntityTypeId() . '.' . $this
    ->getEventBundle();
}