diff --git a/core/modules/block/lib/Drupal/block/BlockFormController.php b/core/modules/block/lib/Drupal/block/BlockFormController.php index 0cf2586..16f1a8d 100644 --- a/core/modules/block/lib/Drupal/block/BlockFormController.php +++ b/core/modules/block/lib/Drupal/block/BlockFormController.php @@ -290,8 +290,8 @@ public function validate(array $form, array &$form_state) { $form_state['values']['visibility']['role']['roles'] = array_filter($form_state['values']['visibility']['role']['roles']); // The Block Entity form puts all block plugin form elements in the // settings form element, so just pass that to the block for validation. - $settings = array('values' => - &$form_state['values']['settings'], + $settings = array( + 'values' => &$form_state['values']['settings'], ); // Call the plugin validate handler. $this->entity->getPlugin()->validateConfigurationForm($form, $settings);