1 block.node_types.inc DashboardContentTypesBlock::getAdminTitle()

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

core/modules/dashboard/includes/block.node_types.inc, line 28
Dashboard block displaying information about content types.

Class

DashboardContentTypesBlock
@file Dashboard block displaying information about content types.

Code

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

  return t('Manage content types');
}