PageTranslateTrait
Implements PageTranslateInterface
Table of Contents
Methods
- translatedLanguages() : array<string|int, mixed>
- Return an array with the routes of other translated languages
Methods
translatedLanguages()
Return an array with the routes of other translated languages
public
translatedLanguages([bool $onlyPublished = false ]) : array<string|int, mixed>
Parameters
- $onlyPublished : bool = false
-
only return published translations
Return values
array<string|int, mixed> —the page translated languages