1 block.update.inc DashboardUpdateBlock::getAdminTitle()

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

core/modules/dashboard/includes/block.update.inc, line 35
Available Updates dashboard block.

Class

DashboardUpdateBlock

Code

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

  return t('Available updates');
}