From 32b15a848c0dbd1034b15b1c127109ca22fb86ed Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 11 Jul 2024 13:35:14 +1200 Subject: [PATCH] NEW Add ElementalAreasPageExtension --- .../MultiElementalAreasExtension.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 code/elemental/MultiElementalAreasExtension.php diff --git a/code/elemental/MultiElementalAreasExtension.php b/code/elemental/MultiElementalAreasExtension.php new file mode 100644 index 0000000..281cf50 --- /dev/null +++ b/code/elemental/MultiElementalAreasExtension.php @@ -0,0 +1,22 @@ + ElementalArea::class, + 'ElementalArea2' => ElementalArea::class + ]; + + private static $owns = [ + 'ElementalArea1', + 'ElementalArea2' + ]; +}