1 block.news.inc public DashboardNewsBlock::getAdminTitle()

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

core/modules/dashboard/includes/block.news.inc, line 19
Dashboard block displaying BackdropCMS.org news items.

Class

DashboardNewsBlock

Code

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

  return t('Backdrop News');
}