mirror of
https://github.com/werkraum-media/events.git
synced 2025-03-27 05:03:47 +01:00
Ensure the parameters are passed on to new generated links. Cover things with tests. Relates: #11574
29 lines
723 B
YAML
29 lines
723 B
YAML
# Used for Content Elements = CE
|
|
# Works if they all use namespace "events"
|
|
routeEnhancers:
|
|
EventsDateShow:
|
|
type: Extbase
|
|
namespace: events
|
|
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
|
|
routePath: '/{localizedPage}-{currentPage}/{controller}'
|
|
defaults:
|
|
controller: 'Date'
|
|
aspects:
|
|
localizedPage:
|
|
type: LocaleModifier
|
|
default: 'page'
|
|
localeMap:
|
|
- locale: 'de*'
|
|
value: 'seite'
|