Closed (fixed)
Project:
Image Styles Mapping
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Jun 2015 at 18:44 UTC
Updated:
12 Jul 2015 at 08:04 UTC
Jump to comment: Most recent
Comments
Comment #1
grimreaperHello,
Thanks for you suggestion. It is in the task #2443757: Possible improvements, I have a work in progress patch here #2443757-8: Possible improvements.
I want to make a first separation in the report generation by getting a plugin architecture where each plugin had a column to the report. For example a plugin for image style, a plugin for responsive image mapping.
Comment #2
ilmir commentedI notice #2443757 where you split mapping responsability, but i think rendering of the data should remain in the controller . Your service should only return data collected in form of object or array.
Comment #4
grimreaperHello,
During the split I realised that the renderable array for html_tag was not good so I fixed it.
And then I moved the renderable functions for the service to the controller.
But there is something that disturbs me. I have the feeling that the reports are less easily overridable.
Maybe with the plugin architecture, I will improve it at this moment.
Feel free to reopen if you think there is a better way to do it.