Loading core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php +30 −29 Original line number Diff line number Diff line Loading @@ -127,7 +127,9 @@ public function blockSubmit($form, FormStateInterface $form_state) { */ public function build() { // Load the selected feed. if ($feed = $this->feedStorage->load($this->configuration['feed'])) { if (!$feed = $this->feedStorage->load($this->configuration['feed'])) { return []; } $result = $this->itemStorage->getQuery() ->accessCheck(TRUE) ->condition('fid', $feed->id()) Loading Loading @@ -159,7 +161,6 @@ public function build() { return $build; } } } /** * {@inheritdoc} Loading Loading
core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php +30 −29 Original line number Diff line number Diff line Loading @@ -127,7 +127,9 @@ public function blockSubmit($form, FormStateInterface $form_state) { */ public function build() { // Load the selected feed. if ($feed = $this->feedStorage->load($this->configuration['feed'])) { if (!$feed = $this->feedStorage->load($this->configuration['feed'])) { return []; } $result = $this->itemStorage->getQuery() ->accessCheck(TRUE) ->condition('fid', $feed->id()) Loading Loading @@ -159,7 +161,6 @@ public function build() { return $build; } } } /** * {@inheritdoc} Loading