Skip to content

Please add hook to presenters #11125

@RomSunZ

Description

@RomSunZ

It is impossible to override new classes that are implementing PresenterInterface. But sometime it is necessary to add or edit presented information. It is can be easily done with one line of code before the end of public function present($object):

Hook::exec('actionPresenter presented object', array('object' => presented object));

Metadata

Metadata

Assignees

Labels

COCategory: CoreFixedResolution: issue closed because fixedHookImprovementType: Improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions