diff --git a/core/modules/views/lib/Drupal/views/Plugin/block/block/ViewsBlock.php b/core/modules/views/lib/Drupal/views/Plugin/block/block/ViewsBlock.php index 8a77f18..eccc207 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/block/block/ViewsBlock.php +++ b/core/modules/views/lib/Drupal/views/Plugin/block/block/ViewsBlock.php @@ -59,18 +59,6 @@ public function blockAccess() { } /** - * Overrides \Drupal\block\BlockBase::form(). - */ - public function form($form, &$form_state) { - $form = parent::form($form, $form_state); - - // Set the default label to '' so the views internal title is used. - $form['label']['#default_value'] = ''; - $form['label']['#access'] = FALSE; - return $form; - } - - /** * Implements \Drupal\block\BlockBase::build(). */ public function build() {