Something went wrong on our end
ISTWCMS-7275: Rename "publication" to "reference" in custom block.
Compare changes
- Igor Biki authored
Simplified node storage handling by reusing the storage object and removed redundant calls. Added functionality to update temporary storage, including processing layout sections and updating labels for specific components. Adjusted batch end message to include temporary storage updates.
+ 59
− 10
@@ -60,6 +60,7 @@ function _references_block_titles_updates_batch_start($count, &$context): void {
@@ -78,7 +79,8 @@ function _references_block_titles_updates_batch_start($count, &$context): void {
@@ -103,20 +105,16 @@ function _references_block_titles_updates_batch_update($nid, &$context): void {
@@ -141,7 +139,7 @@ function _references_block_titles_updates_batch_update($nid, &$context): void {
@@ -160,6 +158,53 @@ function _references_block_titles_updates_batch_update($nid, &$context): void {
@@ -170,7 +215,7 @@ function _references_block_titles_updates_batch_temp_storage(&$context) {
@@ -178,4 +223,8 @@ function _references_block_titles_updates_batch_end(&$context) {