public function getAllowedThemes()
    {
        $event = new AllowListEvent(AllowListEvent::THEMES, variable_get('ucms_site_allowed_themes', []));
        $this->dispatcher->dispatch(AllowListEvent::EVENT_THEMES, $event);

        return $event->getAllowedItems();
    }
public function getAllowedThemes()
    {
        $event = new AllowListEvent(AllowListEvent::THEMES, variable_get('ucms_site_allowed_themes', []));
        $this->dispatcher->dispatch(AllowListEvent::EVENT_THEMES, $event);

        return $event->getAllowedItems();
    }
public function getAllowedThemes ( ) { $ event = new AllowListEvent ( AllowListEvent :: THEMES , variable_get ( 'ucms_site_allowed_themes' , [ ] ) ) ; $ this -> dispatcher -> dispatch ( AllowListEvent :: EVENT_THEMES , $ event ) ; return $ event -> getAllowedItems ( ) ; }
Get allowed front-end themes

@return string[]
Get allowed front - end themes