Jump to content

How can I add a class to the admin theme or access other $adminTheme methods from a site module?


Recommended Posts

Posted

What's the best way to access $adminTheme methods from a module setup?

I'm trying to add

$adminTheme->addClass('body','chroma');

as I would in an admin template file replacement but I am not sure where it is in the wire modules hierarchy or if there is a hook.

I've tried calling it as a module from the ready() function but it's an abstract class. Not sure what to do.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...