Skip to content
Snippets Groups Projects

Check by empty target_id.

1 unresolved thread
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -162,6 +162,11 @@ class ReadingTime {
->getValue();
foreach ($list as $item) {
// If we are in preview mode, paragraphs are still unknown.
if (empty($item['target_id'])) {
Please register or sign in to reply
continue;
}
$referenceRevisionEntity = $this->entityTypeManager
->getStorage($entityType)
->load($item['target_id']);
Loading