public function CalendarEvent::getUrl in Calendar 8
Same name and namespace in other branches
- 8.2 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::getUrl()
Getter for the url.
Return value
string The public url to this event.
Throws
\Drupal\Core\Entity\EntityMalformedException
File
- src/
CalendarEvent.php, line 256
Class
- CalendarEvent
- Defines a calendar event object.
Namespace
Drupal\calendarCode
public function getUrl() {
return $this->entity
->toUrl();
}