1.20.x block.welcome.inc DashboardWelcomeBlock::getTitle()

Return the title of a block as configured in the layout.

Return value

mixed:

Overrides Block::getTitle

File

modules/dashboard/includes/block.welcome.inc, line 11
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 getTitle() {
  return !empty($this->settings['title']) ? check_plain($this->settings['title']) : t('Welcome to Backdrop CMS!');
}