how do I pass options to the configureCrud detail template?

Viewed 28

I need to pass here admin/country.HTML.twig object with data or any data like

public function configureCrud(Crud $crud): Crud
{
    return $crud
        ->overrideTemplates([
            'crud/detail' => 'admin/country.html.twig',
        ])
    ;
}
0 Answers
Related