1.20.x block.update.inc DashboardUpdateBlock::getAdminPreview()

Return a preview for this block.

Overrides Block::getAdminPreview

File

modules/dashboard/includes/block.update.inc, line 46
Available Updates dashboard block.

Class

DashboardUpdateBlock

Code

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

  return t('Displays available updates for core, modules, themes, and layouts.');
}