Browse Source

Fix formatting errors reported by phpcs

merge-requests/45/head
kensae 2 years ago
parent
commit
8a4d2c04ad
  1. 2
      src/View/BlockViewBuilder.php

2
src/View/BlockViewBuilder.php

@ -133,7 +133,7 @@ class BlockViewBuilder {
}
// Overrride contextual arguments if arguments parameter is being passed
// and the instance is of type ViewBlock
// and the instance $block_plugin is of type Drupal\views\Plugin\Block\ViewsBlock.
if ($block_plugin instanceof ViewsBlock) {
if (!empty($arguments)) {
$view = $block_plugin->getViewExecutable();

Loading…
Cancel
Save