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

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

Return value

mixed:

Overrides Block::getTitle

File

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

Class

DashboardMenuBlock
@file Dashboard block displaying menus on the site.

Code

function getTitle() {
  return !empty($this->settings['title']) ? check_plain($this->settings['title']) : t('Menus');
}