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

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

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

Class

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

Code

function getAdminTitle() {
  if (!empty($this->settings['admin_label'])) {
    return check_plain($this->settings['admin_label']);
  }

  return t('Overview of content');
}