1.20.x block.overview_content.inc DashboardOverviewContentBlock::getAdminPreview()

Return a preview for this block.

Overrides Block::getAdminPreview

File

modules/dashboard/includes/block.overview_content.inc, line 53
Dashboard block displaying informtion about content, including:

Class

DashboardOverviewContentBlock
@file Dashboard block displaying informtion about content, including:

Code

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

  return t('Displays a summary of content statistics.');
}