Symfony: how to install a template from another module?

anytime I write this:

$this->setTemplate('module/action');

I get this error:

The template "module / actionSuccess.php" does not exist or is unreadable in "".

So how to install a template from another module?

Xavi

+3
source share
1 answer

According to the API Documentation :

$this->setTemplate('action', 'module');
+13
source

Source: https://habr.com/ru/post/1741577/


All Articles