diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/display/PathPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/display/PathPluginBase.php index 24f12c0..5e9f306 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/display/PathPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/display/PathPluginBase.php @@ -269,11 +269,8 @@ public function executeHookDefaultMenuLinks(array &$existing_links) { // page arguments so the argument actually comes through. foreach ($bits as $pos => $bit) { if ($bit == '%') { - $argument = array_shift($view_arguments); - if (!empty($argument->options['specify_validation']) && $argument->options['validate']['type'] != 'none') { - $bits[$pos] = '%views_arg'; - } - $page_arguments[] = $pos; + // If a view requires any arguments we cannot create a static menu link. + return array(); } }