We can leverage ConfigEntity::sort() rather than having to have a separate variantSortHelper() on the Page entity.

Comments

yanniboi created an issue. See original summary.

yanniboi’s picture

Status: Active » Closed (duplicate)

On second thought, I think this should be fixed as part of #2692397: Adding/removing variants leaves Page::$variants out of date.

andrewbelcher’s picture

andrewbelcher’s picture