1 block.text.inc BlockText::getTitle()

Sets block subject on block view.

Overrides Block::getTitle

File

core/modules/layout/includes/block.text.inc, line 35

Class

BlockText
BlockText extends Block

Code

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