1 block.menus.inc DashboardMenuBlock::getAdminPreview()

Return a preview for this block.

Overrides Block::getAdminPreview

File

core/modules/dashboard/includes/block.menus.inc, line 42
Dashboard block displaying menus on the site.

Class

DashboardMenuBlock
@file Dashboard block displaying menus on the site.

Code

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

  return t('Links to manage menus.');
}