src/FrontendEditHybrid.php
protected function compile(): void
    {
        $metaModel = $this->factory->translateIdToMetaModelName($this->metamodel);

        try {
            $this->Template->editor = $this->editor->editFor($metaModel, 'create');
        } catch (NotEditableException $exception) {
            throw new AccessDeniedException($exception->getMessage());
        } catch (NotCreatableException $exception) {
            throw new AccessDeniedException($exception->getMessage());
        }
    }
protected function compile(): void
    {
        $metaModel = $this->factory->translateIdToMetaModelName($this->metamodel);

        try {
            $this->Template->editor = $this->editor->editFor($metaModel, 'create');
        } catch (NotEditableException $exception) {
            throw new AccessDeniedException($exception->getMessage());
        } catch (NotCreatableException $exception) {
            throw new AccessDeniedException($exception->getMessage());
        }
    }
protected function compile ( ) : void { $ metaModel = $ this -> factory -> translateIdToMetaModelName ( $ this -> metamodel ) ; try { $ this -> Template -> editor = $ this -> editor -> editFor ( $ metaModel , 'create' ) ; } catch ( NotEditableException $ exception ) { throw new AccessDeniedException ( $ exception -> getMessage ( ) ) ; } catch ( NotCreatableException $ exception ) { throw new AccessDeniedException ( $ exception -> getMessage ( ) ) ; } }
Compile the content element.

@return void

@throws AccessDeniedException In case the data container is not allowed to edit.
Compile the content element .