diff --git a/core/modules/views/src/Plugin/Derivative/ViewsBlock.php b/core/modules/views/src/Plugin/Derivative/ViewsBlock.php index 0d83399..7db35d9 100644 --- a/core/modules/views/src/Plugin/Derivative/ViewsBlock.php +++ b/core/modules/views/src/Plugin/Derivative/ViewsBlock.php @@ -120,6 +120,9 @@ public function getDerivativeDefinitions($base_plugin_definition) { if ($arguments = $display->getOption('arguments')) { foreach ($arguments as $argument_name => $argument) { if (!empty($argument['specify_validation'])) { + if (!isset($argument['validate'])) { + continue; + } if (strpos($argument['validate']['type'], 'entity:') !== FALSE) { $this->derivatives[$delta]['context'][$argument_name] = new ContextDefinition($argument['validate']['type'], $argument_name, FALSE); }