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

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

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

Class

DashboardMenuBlock
@file Dashboard block displaying menus on the site.

Code

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

  return t('Manage menus');
}