public function CalendarEvent::getEntity in Calendar 8
Same name and namespace in other branches
- 8.2 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::getEntity()
Function to get entity.
Return value
\Drupal\Core\Entity\ContentEntityInterface
File
- src/
CalendarEvent.php, line 117
Class
- CalendarEvent
- Defines a calendar event object.
Namespace
Drupal\calendarCode
public function getEntity() {
return $this->entity;
}