So i have a situation where i have array of entities in my params , I need to pass some variables with each entity individually.
i'm trying to do this
It throw an error saying
What is best and appropriate to pass params with the entities to the templates.
i'm trying to do this
Code:
$params['entity'][10]->newVariable = "test";
It throw an error saying
Column 'test' is unknown i
What is best and appropriate to pass params with the entities to the templates.