1.20.x block.overview_user.inc DashboardOverviewUserBlock::getAdminPreview()

Return a preview for this block.

Overrides Block::getAdminPreview

File

modules/dashboard/includes/block.overview_user.inc, line 51
Dashboard block displaying information about user accounts, including:

Class

DashboardOverviewUserBlock
@file

Code

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

  return t('Displays a summary of user statistics including: number of total users, active users, blocked users, and users in each role.');
}