Commit 189f4091 authored by Jay Prakash Mishra's avatar Jay Prakash Mishra Committed by Gaurav Kapoor
Browse files

Issue #3257976 by jayprakash01, sudishth, gaurav.kapoor: No link template...

Issue #3257976 by jayprakash01, sudishth, gaurav.kapoor: No link template 'canonical' found for the 'file' entity type
parent edfd32fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ class DisqusCommentManager implements DisqusCommentManagerInterface {
    $managed_logo = $this->configFactory->get('disqus.settings')->get('advanced.sso.disqus_logo');
    $use_site_logo = $this->configFactory->get('disqus.settings')->get('advanced.sso.disqus_use_site_logo');
    if (!$use_site_logo && !empty($managed_logo)) {
      $disqus['sso']['button'] = $this->entityTypeManager->getStorage('file')->load($managed_logo)->toUrl();
      $disqus['sso']['button'] = $this->entityTypeManager->getStorage('file')->load($managed_logo)->createFileUrl();
    }
    elseif ($logo = theme_get_setting('logo')) {
      $url = $logo['url'];