LocaleModifier implements ModifiableAspectInterface, SiteLanguageAwareInterface uses SiteLanguageAwareTrait

Locale modifier to be used to modify routePath directly.

Example: routeEnhancers: Blog: type: Extbase extension: BlogExample plugin: Pi1 routes: - { routePath: '/{list_label}/{paging_widget}', _controller: 'BlogExample::list', arguments: {'paging_widget': '@widget_0/currentPage'}} defaultController: 'BlogExample::list' requirements: paging_widget: '\d+' aspects: list_label: type: LocaleModifier default: 'list' localeMap: - locale: 'en_US.|en_GB.' value: 'overview' - locale: 'fr_FR' value: 'liste' - locale: 'de.*' value: 'übersicht'

Table of Contents

Interfaces

ModifiableAspectInterface
Interface that describes modifiers that provide static modifications to route paths based on a given context (current locale, context, ...).
SiteLanguageAwareInterface
Interface for SiteLanguageAware features of TYPO3

Properties

$default  : string|null
$localeMap  : array<string|int, mixed>
$settings  : array<string|int, mixed>
$siteLanguage  : SiteLanguage

Methods

__construct()  : mixed
getSiteLanguage()  : SiteLanguage
modify()  : string|null
setSiteLanguage()  : mixed

Properties

$localeMap

protected array<string|int, mixed> $localeMap

$settings

protected array<string|int, mixed> $settings

Methods

__construct()

public __construct(array<string|int, mixed> $settings) : mixed
Parameters
$settings : array<string|int, mixed>
Tags
throws
InvalidArgumentException

modify()

public modify() : string|null
Return values
string|null

        
On this page

Search results