Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions