Skip to content

Dynamic loading of themes / Enable & add themes with PHP #110

@ghost

Description

How may I add a theme to the theme-list with PHP?
I like to dynamically add the theme by an event listener.

I can set the active theme by PHP:

$activeTheme = $this->container->get('liip_theme.active_theme');
$activeTheme->setName('blue');

=> The active theme "blue" must be in the themes list ().

How to add any theme name to the "theme list" ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions