final public function getHtml()
    {
        $result = $this->renderHtml();
        if (is_array($result) && array_key_exists('RenderView', $result)) {
            $result['RenderView']['options']['block_manager'] = $this;
        }

        return $result;
    }
final public function getHtml()
    {
        $result = $this->renderHtml();
        if (is_array($result) && array_key_exists('RenderView', $result)) {
            $result['RenderView']['options']['block_manager'] = $this;
        }

        return $result;
    }
final public function getHtml ( ) { $ result = $ this -> renderHtml ( ) ; if ( is_array ( $ result ) && array_key_exists ( 'RenderView' , $ result ) ) { $ result [ 'RenderView' ] [ 'options' ] [ 'block_manager' ] = $ this ; } return $ result ; }
Returns the block's html content or an array which contains the view to be
rendered with its options

@return string|array

@api
Returns the block s html content or an array which contains the view to be rendered with its options