diff --git a/src/Form/PanelsAddBlockForm.php b/src/Form/PanelsAddBlockForm.php index c36f884..59b0590 100644 --- a/src/Form/PanelsAddBlockForm.php +++ b/src/Form/PanelsAddBlockForm.php @@ -62,7 +62,7 @@ class PanelsAddBlockForm extends PanelsBlockConfigureFormBase { /** * {@inheritdoc} */ - public function buildForm(array $form, FormStateInterface $form_state, Request $request = NULL, $tempstore_id = NULL, $machine_name = NULL, $block_id = NULL) { + public function buildForm(array $form, FormStateInterface $form_state, $tempstore_id = NULL, $machine_name = NULL, $block_id = NULL, Request $request = NULL) { $form = parent::buildForm($form, $form_state, $tempstore_id, $machine_name, $block_id); $form['region']['#default_value'] = $request->query->get('region'); return $form;