Commit 8a208be6 authored by Daniel Wehner's avatar Daniel Wehner Committed by Janez Urevc
Browse files

Issue #2582979 by dawehner: Fix function signature

parent f038b8d2
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Plugin/Field/FieldFormatter/DisqusFormatter.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ class DisqusFormatter extends FormatterBase implements ContainerFactoryPluginInt
  /**
   * {@inheritdoc}
   */
  public function viewElements(FieldItemListInterface $items) {
  public function viewElements(FieldItemListInterface $items, $langcode) {
    $element = array();

    if($items->status == 1 && $this->currentUser->hasPermission('view disqus comments')) {