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