LanguageColumn extends AbstractGridObject
Language Column
Object representation of a site language selected in the "page" module to show translations of content elements.
Contains getter methods to return various values associated with a single language, e.g. localized page title, associated SiteLanguage instance, edit URLs and link titles and so on.
Stores a duplicated Grid object associated with the SiteLanguage.
Accessed from Fluid templates - generated from within BackendLayout when "page" module is in "languages" mode.
this is experimental and subject to change in TYPO3 v10 / v11
Table of Contents
Properties
- $context : PageLayoutContext
- $grid : Grid|null
- $iconFactory : IconFactory
- $localizationConfiguration : array<string|int, mixed>
- $translationInfo : array<string|int, mixed>
Methods
- __construct() : mixed
- getAllowEditPage() : bool
- getAllowTranslate() : bool
- getAllowTranslateCopy() : bool
- getAllowViewPage() : bool
- getContext() : PageLayoutContext
- getGrid() : Grid|null
- getPageEditTitle() : string
- getPageEditUrl() : string
- getPageIcon() : string
- getPreviewUrlAttributes() : string
- getTranslatePageTitle() : string
- getTranslationData() : array<string|int, mixed>
- getUniqueId() : string
- getViewPageLinkTitle() : string
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
Properties
$context
protected
PageLayoutContext
$context
$grid
protected
Grid|null
$grid
$iconFactory
protected
IconFactory
$iconFactory
$localizationConfiguration
protected
array<string|int, mixed>
$localizationConfiguration
= []
$translationInfo
protected
array<string|int, mixed>
$translationInfo
= ['hasStandaloneContent' => false, 'hasTranslations' => false, 'untranslatedRecordUids' => []]
Methods
__construct()
public
__construct(PageLayoutContext $context, Grid $grid, array<string|int, mixed> $translationInfo) : mixed
Parameters
- $context : PageLayoutContext
- $grid : Grid
- $translationInfo : array<string|int, mixed>
getAllowEditPage()
public
getAllowEditPage() : bool
Return values
boolgetAllowTranslate()
public
getAllowTranslate() : bool
Return values
boolgetAllowTranslateCopy()
public
getAllowTranslateCopy() : bool
Return values
boolgetAllowViewPage()
public
getAllowViewPage() : bool
Return values
boolgetContext()
public
getContext() : PageLayoutContext
Return values
PageLayoutContextgetGrid()
public
getGrid() : Grid|null
Return values
Grid|nullgetPageEditTitle()
public
getPageEditTitle() : string
Return values
stringgetPageEditUrl()
public
getPageEditUrl() : string
Return values
stringgetPageIcon()
public
getPageIcon() : string
Return values
stringgetPreviewUrlAttributes()
public
getPreviewUrlAttributes() : string
Return values
stringgetTranslatePageTitle()
public
getTranslatePageTitle() : string
Return values
stringgetTranslationData()
public
getTranslationData() : array<string|int, mixed>
Return values
array<string|int, mixed>getUniqueId()
public
getUniqueId() : string
Return values
stringgetViewPageLinkTitle()
public
getViewPageLinkTitle() : string
Return values
stringgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService