public function handleGetContentElement(GetContentElementEvent $event)
    {
        /** @var Controller $controllerAdapter */
        $controllerAdapter = $this->framework->getAdapter(Controller::class);

        $contentElement = $controllerAdapter->getContentElement(
            $event->getContentElementId(),
            $event->getColumn()
        );

        $event->setContentElementHtml($contentElement);
    }
public function handleGetContentElement(GetContentElementEvent $event)
    {
        /** @var Controller $controllerAdapter */
        $controllerAdapter = $this->framework->getAdapter(Controller::class);

        $contentElement = $controllerAdapter->getContentElement(
            $event->getContentElementId(),
            $event->getColumn()
        );

        $event->setContentElementHtml($contentElement);
    }
public function handleGetContentElement ( GetContentElementEvent $ event ) { /** @var Controller $controllerAdapter */ $ controllerAdapter = $ this -> framework -> getAdapter ( Controller :: class ) ; $ contentElement = $ controllerAdapter -> getContentElement ( $ event -> getContentElementId ( ) , $ event -> getColumn ( ) ) ; $ event -> setContentElementHtml ( $ contentElement ) ; }
Render an content element.

@param GetContentElementEvent $event The event.

@return void
Render an content element .