Skip to content
Snippets Groups Projects
Commit 2f20874d authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Add a route configuration that can be imported in siteConfiguration

parent 2f6f7f07
No related branches found
No related tags found
1 merge request!35[TASK] Add a route configuration that can be imported in siteConfiguration
routeEnhancers:
PageBrowserNews:
type: Plugin
namespace: tx_sgnews_pagebrowser
routePath: '/{localizedSegment}/{currentPage}'
aspects:
localizedSegment:
type: LocaleModifier
default: page
localeMap:
-
locale: 'de_DE.*'
value: seite
NewsByAuthor:
type: Extbase
extension: SgNews
plugin: NewsByAuthor
routes:
-
routePath: '/{authorTitle}'
_controller: 'NewsByAuthor::list'
_arguments:
authorTitle: authorId
defaultController: 'NewsByAuthor::list'
aspects:
authorTitle:
type: PersistedAliasMapper
tableName: tx_sgnews_domain_model_author
routeFieldName: path_segment
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment