comparison core/modules/views/src/Plugin/Derivative/ViewsBlock.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
113 113
114 // Look for arguments and expose them as context. 114 // Look for arguments and expose them as context.
115 foreach ($display->getHandlers('argument') as $argument_name => $argument) { 115 foreach ($display->getHandlers('argument') as $argument_name => $argument) {
116 /** @var \Drupal\views\Plugin\views\argument\ArgumentPluginBase $argument */ 116 /** @var \Drupal\views\Plugin\views\argument\ArgumentPluginBase $argument */
117 if ($context_definition = $argument->getContextDefinition()) { 117 if ($context_definition = $argument->getContextDefinition()) {
118 $this->derivatives[$delta]['context'][$argument_name] = $context_definition; 118 $this->derivatives[$delta]['context_definitions'][$argument_name] = $context_definition;
119 } 119 }
120 } 120 }
121 121
122 $this->derivatives[$delta] += $base_plugin_definition; 122 $this->derivatives[$delta] += $base_plugin_definition;
123 } 123 }