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

Return a preview for this block.

Overrides Block::getAdminPreview

File

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

Class

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

Code

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

  return t('Links to create new content.');
}