plone.app.event.browser.event_view¶
- plone.app.event.browser.event_view.get_location(accessor)[source]¶
Return the location. This method can be overwritten by external packages, for example to provide a reference to a Location object as done by collective.venue.
Parameters: accessor (IEvent, IOccurrence or IEventAccessor) – Event, Occurrence or IEventAccessor object. Returns: A location string. Possibly a HTML structure to link to another object, representing the location. Return type: string