Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / views / src / Plugin / Block / ViewsBlockBase.php
index 4e3020ca0ab09d9f8d9829e3c6690e3cf8d8ee18..9ed369c045dc8a680f730bb7758f49624f0d6e10 100644 (file)
@@ -105,6 +105,13 @@ abstract class ViewsBlockBase extends BlockBase implements ContainerFactoryPlugi
     return ['views_label' => ''];
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  public function getPreviewFallbackString() {
+    return $this->t('Placeholder for the "@view" views block', ['@view' => $this->view->storage->label()]);
+  }
+
   /**
    * {@inheritdoc}
    */