Welcome Guest, Not a member yet? Register   Sign In
twig and view cell
#1

Hi all,
When i try to use view cells and twig i get this error
Twig\Error\SyntaxError
The arrow function argument must be a list of variables or a single variable in "blog/index.twig" at line 15
at line
Code:
<li class="list-inline-item">Tags : {{ view_cell('App\Cells\TagsCell::getOne',['article_id' => article.id ]) }}</li>
Does someone can help ?
Thanks
Eric
Reply


Messages In This Thread
twig and view cell - by foxbille - 06-11-2025, 08:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB