protected function getEditor()
    {
        if (null !== $this->editor) {
            return $this->editor;
        }

        return $this->editor = $this
            ->get('ekyna_cms.editor.editor')
            ->setEnabled(true); // TODO Do this somewhere else
    }
protected function getEditor()
    {
        if (null !== $this->editor) {
            return $this->editor;
        }

        return $this->editor = $this
            ->get('ekyna_cms.editor.editor')
            ->setEnabled(true); // TODO Do this somewhere else
    }
protected function getEditor ( ) { if ( null !== $ this -> editor ) { return $ this -> editor ; } return $ this -> editor = $ this -> get ( 'ekyna_cms.editor.editor' ) -> setEnabled ( true ) ; // TODO Do this somewhere else }
Returns the editor.

@return \Ekyna\Bundle\CmsBundle\Editor\Editor
Returns the editor .