public function CalendarEvent::getType in Calendar 8
Same name and namespace in other branches
- 8.2 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::getType()
Getter for the type.
Return value
string The type of the entity.
File
- src/
CalendarEvent.php, line 127
Class
- CalendarEvent
- Defines a calendar event object.
Namespace
Drupal\calendarCode
public function getType() {
return $this->entity
->getEntityTypeId();
}