public function edit($content)
    {
        $dotName = str_replace(['[', ']'], ['.', ''], $this->_getInputHTMLKey());
        $submittedData = Request::input($dotName);
        return CmsBlockInput::make($this->_block->type, $this->_editViewData + [
                'label' => $this->_block->label,
                'name' => $this->_getInputHTMLKey(),
                'content' => $content,
                'submitted_data' => $submittedData ? $this->_defaultData($submittedData) : null,
                'note' => $this->_block->note,
                '_block' => $this->_block,
                '_blockType' => $this
            ]);
    }
public function edit($content)
    {
        $dotName = str_replace(['[', ']'], ['.', ''], $this->_getInputHTMLKey());
        $submittedData = Request::input($dotName);
        return CmsBlockInput::make($this->_block->type, $this->_editViewData + [
                'label' => $this->_block->label,
                'name' => $this->_getInputHTMLKey(),
                'content' => $content,
                'submitted_data' => $submittedData ? $this->_defaultData($submittedData) : null,
                'note' => $this->_block->note,
                '_block' => $this->_block,
                '_blockType' => $this
            ]);
    }
public function edit ( $ content ) { $ dotName = str_replace ( [ '[' , ']' ] , [ '.' , '' ] , $ this -> _getInputHTMLKey ( ) ) ; $ submittedData = Request :: input ( $ dotName ) ; return CmsBlockInput :: make ( $ this -> _block -> type , $ this -> _editViewData + [ 'label' => $ this -> _block -> label , 'name' => $ this -> _getInputHTMLKey ( ) , 'content' => $ content , 'submitted_data' => $ submittedData ? $ this -> _defaultData ( $ submittedData ) : null , 'note' => $ this -> _block -> note , '_block' => $ this -> _block , '_blockType' => $ this ] ) ; }
Admin display for the block
@param string $content
@return string
Admin display for the block