From 50f86f746d64c154594d64bd7b74a50c186e5448 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ph=C3=A9na=20Proxima?= <adam@phenaproxima.net>
Date: Wed, 23 Apr 2025 15:38:27 -0400
Subject: [PATCH 1/2] Add post-update hook

---
 layout_builder_st.post_update.php | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 layout_builder_st.post_update.php

diff --git a/layout_builder_st.post_update.php b/layout_builder_st.post_update.php
new file mode 100644
index 0000000..9e5e2fe
--- /dev/null
+++ b/layout_builder_st.post_update.php
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @file
+ * Contains post-update hooks for layout_builder_st.
+ */
+
+declare(strict_types=1);
+
+/**
+ * Rebuilds the container for updating layout_builder_st to v2.0.0.
+ */
+function layout_builder_st_rebuild_container_for_v2(): void {
+  // Empty post-update hook to force a container rebuild.
+}
-- 
GitLab


From f85437f8876c41fff560147cd68f84daafd9e910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ph=C3=A9na=20Proxima?= <adam@phenaproxima.net>
Date: Wed, 23 Apr 2025 16:47:39 -0400
Subject: [PATCH 2/2] MIsnamed the hook

---
 layout_builder_st.post_update.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout_builder_st.post_update.php b/layout_builder_st.post_update.php
index 9e5e2fe..1dba76b 100644
--- a/layout_builder_st.post_update.php
+++ b/layout_builder_st.post_update.php
@@ -10,6 +10,6 @@ declare(strict_types=1);
 /**
  * Rebuilds the container for updating layout_builder_st to v2.0.0.
  */
-function layout_builder_st_rebuild_container_for_v2(): void {
+function layout_builder_st_post_update_rebuild_container_for_v2(): void {
   // Empty post-update hook to force a container rebuild.
 }
-- 
GitLab