Project

General

Profile

Actions

Feature #79877

closed

make languageService usable in PageLayoutViewDrawItemHookInterface

Added by Dominik Hahn almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-02-17
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:

Description

Hey guys,

I am using the $drawItemHooks / PageLayoutViewDrawItemHookInterface to manipulate the rendering of content elements in the page module.
The class "PageLayoutView" utilizes the getLanguageService()-method for translation handling but I can't use it in the hook because the AbstractRecordList class declares this method as "protected".

Unless there a are better ways to solve it I would love to see the languageService usable in PageLayoutViewDrawItemHookInterface – thanks!

Actions

Also available in: Atom PDF