1 block.news.inc public DashboardNewsBlock::getAdminPreview()

Return a preview for this block.

Overrides Block::getAdminPreview

File

core/modules/dashboard/includes/block.news.inc, line 30
Dashboard block displaying BackdropCMS.org news items.

Class

DashboardNewsBlock

Code

public function getAdminPreview() {
  if (!empty($this->settings['admin_description'])) {
    return filter_xss($this->settings['admin_description']);
  }

  return t('Displays a news feed from BackdropCMS.org.');
}