X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews%2Fsrc%2FPlugin%2FBlock%2FViewsBlockBase.php;h=9ed369c045dc8a680f730bb7758f49624f0d6e10;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=4e3020ca0ab09d9f8d9829e3c6690e3cf8d8ee18;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/views/src/Plugin/Block/ViewsBlockBase.php b/web/core/modules/views/src/Plugin/Block/ViewsBlockBase.php index 4e3020ca0..9ed369c04 100644 --- a/web/core/modules/views/src/Plugin/Block/ViewsBlockBase.php +++ b/web/core/modules/views/src/Plugin/Block/ViewsBlockBase.php @@ -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} */