Skip to content

Commit

Permalink
last updated block added back in
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgriff465 committed Apr 7, 2021
1 parent 06a1c8c commit c7d2331
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ContentHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ public static function extractFlexibleContent(Entry $entry, $locale, $children =
'content' => $block->tableOfContentsIntro ?? null,
];
break;
case 'lastUpdatedDateBlock':
$data = [
'lastUpdatedField' => $block->updatedDate ? $entry->dateUpdated : null,
];
break;
case 'alertBox':
$data = [
'content' => $block->alertBoxContent ?? null,
Expand Down

0 comments on commit c7d2331

Please sign in to comment.