Skip to content

Conversation

riasvdv
Copy link
Contributor

@riasvdv riasvdv commented Oct 15, 2025

Notable changes:

  • Split the Sites service into Sites and SiteGroups
  • Moves the multisite check from Craft::$app->getIsMultiSite() to the Sites service, which can be used through the facade.
  • craft.app.sites becomes craft.sites and craft.siteGroups in Twig templates

Additional changes not specifically for Sites & Site Groups:

  • Added sessionErrors to global Twig to access Laravel session errors (to be used when controllers are ported)
  • Added old() Twig function which accesses old input when validation errors occured to keep forms in the same state

@riasvdv riasvdv requested a review from brandonkelly October 16, 2025 09:24
@riasvdv riasvdv marked this pull request as ready for review October 16, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant