1 block.class.inc Block::prepare()

Do any processing prior to getTitle() and getContent() being called.

The contexts will have been set on the object at this point, just prior to the block being rendered. This method is useful to save duplicate processing if both getTitle() and getContent() need to use the same data.

File

core/modules/layout/includes/block.class.inc, line 135
A class that wraps around a block to store settings information.

Class

Block
@file A class that wraps around a block to store settings information.

Code

function prepare() {
}