1 block_example.inc BlockExample::getTitle()

Sets block subject on block view.

Overrides Block::getTitle

File

modules/examples/block_example/block_example.inc, line 26

Class

BlockExample
BlockExample extends Block

Code

function getTitle() {
  return isset($this->settings['title']) ? check_plain($this->settings['title']) : '';
}