1 node.block.inc NodeBlock::getAdminPreview()

Returns a preview for this block.

Overrides Block::getAdminPreview

File

core/modules/node/node.block.inc, line 17
A class that displays a particular node in a block.

Class

NodeBlock
@file A class that displays a particular node in a block.

Code

function getAdminPreview() {
  return t('Displays content of node ID: @nid', array('@nid' => $this->settings['nid']));
}