Index: modules/contrib/panels/src/Form/PanelsAddBlockForm.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules/contrib/panels/src/Form/PanelsAddBlockForm.php	(revision 4c4af020a98e9bf2af0219eddc5c4a772c91bb6b)
+++ modules/contrib/panels/src/Form/PanelsAddBlockForm.php	(date 1513611752000)
@@ -63,7 +63,7 @@
    * {@inheritdoc}
    */
   public function buildForm(array $form, FormStateInterface $form_state, Request $request = NULL, $tempstore_id = NULL, $machine_name = NULL, $block_id = NULL) {
-    $form = parent::buildForm($form, $form_state, $tempstore_id, $machine_name, $block_id);
+    $form = parent::buildForm($form, $form_state, $request, $tempstore_id, $machine_name, $block_id);
     $form['region']['#default_value'] = $request->query->get('region');
     return $form;
   }
Index: modules/contrib/panels/src/Form/PanelsBlockConfigureFormBase.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules/contrib/panels/src/Form/PanelsBlockConfigureFormBase.php	(revision 4c4af020a98e9bf2af0219eddc5c4a772c91bb6b)
+++ modules/contrib/panels/src/Form/PanelsBlockConfigureFormBase.php	(date 1513611752000)
@@ -10,6 +10,7 @@
 use Drupal\panels\CachedValuesGetterTrait;
 use Drupal\user\SharedTempStoreFactory;
 use Symfony\Component\DependencyInjection\ContainerInterface;
+use Symfony\Component\HttpFoundation\Request;
 
 /**
  * Provides a base form for configuring a block as part of a variant.
@@ -106,7 +107,7 @@
   /**
    * {@inheritdoc}
    */
-  public function buildForm(array $form, FormStateInterface $form_state, $tempstore_id = NULL, $machine_name = NULL, $block_id = NULL) {
+  public function buildForm(array $form, FormStateInterface $form_state, Request $request = NULL, $tempstore_id = NULL, $machine_name = NULL, $block_id = NULL) {
     $this->tempstore_id = $tempstore_id;
     $cached_values = $this->getCachedValues($this->tempstore, $tempstore_id, $machine_name);
     $this->variantPlugin = $cached_values['plugin'];
