Frage

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?

War es hilfreich?

Lösung

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!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit drupal.stackexchange
scroll top