events/Configuration/Routing.yaml

28 lines
652 B
YAML
Raw Permalink Normal View History

# Legacy, used for Plugins
2022-11-23 10:59:55 +01:00
routeEnhancers:
EventsDateShow:
type: Extbase
extension: Events
plugin: DateShow
defaultController: 'Date::show'
routes:
-
routePath: '/{date}'
_controller: 'Date::show'
aspects:
date:
type: PersistedAliasMapper
tableName: tx_events_domain_model_date
routeFieldName: slug
EventsPagination:
type: Plugin
namespace: 'events_search'
routePath: '/{localizedPage}-{currentPage}'
aspects:
localizedPage:
type: LocaleModifier
default: 'page'
localeMap:
- locale: 'de*'
value: 'seite'