1 block.text.inc | BlockText::getContent() |
Returns the rendered content of this block.
Return value
string:
Overrides Block::getContent
File
- core/
modules/ layout/ includes/ block.text.inc, line 44
Class
- BlockText
- BlockText extends Block
Code
function getContent() {
if (!empty($this->settings['content'])) {
return check_markup(token_replace($this->settings['content']), $this->settings['format'], '', TRUE);
}
}