From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
base/SchemaHelper.php | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/base/SchemaHelper.php b/base/SchemaHelper.php
index ac83573..75e619a 100644
--- a/base/SchemaHelper.php
+++ b/base/SchemaHelper.php
@@ -275,6 +275,10 @@
$className = $config['type'];
unset($config['type']);
$class = new $className();
+ if (array_key_exists('id', $config)) {
+ $class->setId($config['id']);
+ unset($config['id']);
+ }
foreach ($config as $property => $value) {
--
Gitblit v1.10.0