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?


1 Answer 1


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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.