public function onAllowedThemeList(AllowListEvent $event)
    {
        if ($group = $this->findMostRelevantGroup()) {
            if ($themes = $group->getAttribute('allowed_themes')) {
                $event->removeNotIn($themes);
            }
        }
    }
public function onAllowedThemeList(AllowListEvent $event)
    {
        if ($group = $this->findMostRelevantGroup()) {
            if ($themes = $group->getAttribute('allowed_themes')) {
                $event->removeNotIn($themes);
            }
        }
    }
public function onAllowedThemeList ( AllowListEvent $ event ) { if ( $ group = $ this -> findMostRelevantGroup ( ) ) { if ( $ themes = $ group -> getAttribute ( 'allowed_themes' ) ) { $ event -> removeNotIn ( $ themes ) ; } } }
Restrict theme list to what group supports
Restrict theme list to what group supports