1 block.welcome.inc DashboardWelcomeBlock::getAdminPreview()

Return a preview for this block.

Overrides Block::getAdminPreview

File

core/modules/dashboard/includes/block.welcome.inc, line 29
Dashboard block providing a welcome message, and links to get people started using Backdrop.

Class

DashboardWelcomeBlock
@file Dashboard block providing a welcome message, and links to get people started using Backdrop.

Code

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

  return t('Welcome message, and links to getting-started tasks.');
}