1 block.welcome.inc DashboardWelcomeBlock::getAdminTitle()

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

core/modules/dashboard/includes/block.welcome.inc, line 18
Dashboard block providing a welcome message, and links to get people started using Backdrop.

Class

DashboardWelcomeBlock
@file Dashboard block providing a welcome message, and links to get people started using Backdrop.

Code

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

  return t('Welcome to Backdrop CMS!');
}