1 block.create.inc DashboardCreateBlock::getTitle()

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

Return value

mixed:

Overrides Block::getTitle

File

core/modules/dashboard/includes/block.create.inc, line 22
Dashboard block providing links to create new content.

Class

DashboardCreateBlock
@file Dashboard block providing links to create new content.

Code

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