I just created my first batch using batch API and it seems to work!

The progression bar is properly displayed during the execution and it uses administration theme, Seven for my site, which I guess is the standard behavior.

Is there a way to use the default theme of my site instead?
How do I do that?

有帮助吗?

解决方案

In fact, my question was irrelevant.
It appears that I ran my tests of my batch using a user with administrator role. Hence the theme (Seven) used during the execution.
I checked that using another user (not being an administrator) and it was the default theme of my site that was used.

By the way, I got the opportunity of some interesting readings. Thanks!

许可以下: CC-BY-SA归因
scroll top