Loading src/Plugin/Field/FieldFormatter/SvgImageFieldFormatter.php +2 −1 Changes for src/Plugin/Field/FieldFormatter/SvgImageFieldFormatter.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -224,7 +224,8 @@ public function viewElements(FieldItemListInterface $items, $langcode) { continue; } $uri = $item->entity->getFileUri(); if (file_exists($uri) === FALSE) { $stageFileProxy = \Drupal::moduleHandler()->moduleExists('stage_file_proxy'); if (file_exists($uri) === FALSE && !$stageFileProxy) { $this->logger->error('The specified file %file could not be displayed by image formatter due file not exists.', ['%file' => $uri]); continue; } Loading Loading
src/Plugin/Field/FieldFormatter/SvgImageFieldFormatter.php +2 −1 Changes for src/Plugin/Field/FieldFormatter/SvgImageFieldFormatter.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -224,7 +224,8 @@ public function viewElements(FieldItemListInterface $items, $langcode) { continue; } $uri = $item->entity->getFileUri(); if (file_exists($uri) === FALSE) { $stageFileProxy = \Drupal::moduleHandler()->moduleExists('stage_file_proxy'); if (file_exists($uri) === FALSE && !$stageFileProxy) { $this->logger->error('The specified file %file could not be displayed by image formatter due file not exists.', ['%file' => $uri]); continue; } Loading