public function EventTypeRule::id in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/EventTypeRule.php \Drupal\rng\Entity\EventTypeRule::id()
- 3.x src/Entity/EventTypeRule.php \Drupal\rng\Entity\EventTypeRule::id()
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/ EventTypeRule.php, line 65
Class
- EventTypeRule
- Defines the event type entity.
Namespace
Drupal\rng\EntityCode
public function id() {
return $this->entity_type . '.' . $this->bundle . '.' . $this->machine_name;
}