Loading src/ContentAnalysis.php +1 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ class ContentAnalysis { */ protected function getStrippedItems(string $value, string $format_id) : array { /** @var \Drupal\filter\FilterFormatInterface $filter */ $filter = $this->entityTypeManager->getStorage('filter_format')->load('basic_html'); $filter = $this->entityTypeManager->getStorage('filter_format')->load($format_id); if (!$filter) { $filter = $this->entityTypeManager->getStorage('filter_format')->load($this->configFactory->get('filter.settings')->get('fallback_format')); if (!$filter) { Loading Loading
src/ContentAnalysis.php +1 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ class ContentAnalysis { */ protected function getStrippedItems(string $value, string $format_id) : array { /** @var \Drupal\filter\FilterFormatInterface $filter */ $filter = $this->entityTypeManager->getStorage('filter_format')->load('basic_html'); $filter = $this->entityTypeManager->getStorage('filter_format')->load($format_id); if (!$filter) { $filter = $this->entityTypeManager->getStorage('filter_format')->load($this->configFactory->get('filter.settings')->get('fallback_format')); if (!$filter) { Loading