public beginBlock ( string $id, boolean $renderInPlace = false ) : |
||
$id | string | the block ID. |
$renderInPlace | boolean | whether to render the block content in place. Defaults to false, meaning the captured block will not be displayed. |
return | the Block widget instance |
public function beginBlock($id, $renderInPlace = false)
{
return Block::begin(['id' => $id, 'renderInPlace' => $renderInPlace, 'view' => $this]);
}