Project

General

Profile

Actions

Task #75209

closed

Codecleanup for MenuViewHelperTrait

Added by Frank Nägler over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2016-03-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

The MenuViewHelperTrait contains a method which access $this->templateVariableContainer a property, which is not part of the Trait.
The property is part of the AbstractViewHelper. This is a bad cody style and should be changed.

In general all methods of the Trait could be implemented in a AbstractMenuViewHelper class.

I would prefer to remove the Trait and move the logic into an Abstract class.

Actions

Also available in: Atom PDF