public function toArray()
    {
        if (null === $this->alBlock) {
            return array();
        }

        $content = $this->replaceHtmlCmsActive();
        if (null === $content) {
            $content = $this->getHtml();
        }

        $blockManager = array();
        $blockManager["HideInEditMode"] = $this->getHideInEditMode();
        $blockManager["Content"] = $content;
        $blockManager["EditInline"] = $this->editInline();
        $blockManager["Block"] = $this->alBlock->toArray();

        return $blockManager;
    }
public function toArray()
    {
        if (null === $this->alBlock) {
            return array();
        }

        $content = $this->replaceHtmlCmsActive();
        if (null === $content) {
            $content = $this->getHtml();
        }

        $blockManager = array();
        $blockManager["HideInEditMode"] = $this->getHideInEditMode();
        $blockManager["Content"] = $content;
        $blockManager["EditInline"] = $this->editInline();
        $blockManager["Block"] = $this->alBlock->toArray();

        return $blockManager;
    }
public function toArray ( ) { if ( null === $ this -> alBlock ) { return array ( ) ; } $ content = $ this -> replaceHtmlCmsActive ( ) ; if ( null === $ content ) { $ content = $ this -> getHtml ( ) ; } $ blockManager = array ( ) ; $ blockManager [ "HideInEditMode" ] = $ this -> getHideInEditMode ( ) ; $ blockManager [ "Content" ] = $ content ; $ blockManager [ "EditInline" ] = $ this -> editInline ( ) ; $ blockManager [ "Block" ] = $ this -> alBlock -> toArray ( ) ; return $ blockManager ; }
Converts the BlockManager object into an array

Adds some internal options to describe how to properly render the block

@return array

@api
Converts the BlockManager object into an array