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

Return a preview for this block.

Overrides Block::getAdminPreview

File

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

Class

DashboardContentTypesBlock
@file Dashboard block displaying informtion about content types.

Code

function getAdminPreview() {
  if (!empty($this->settings['admin_description'])) {
    return filter_xss($this->settings['admin_description']);
  }

  return t('Links to administer content types.');
}