Classes/Controller/ContentElements/ContentElementController.php
protected function initializeView(ViewInterface $view) {
    $configurationManager = $this->objectManager->get(ConfigurationManager::class);
    $data                 = $configurationManager->getContentObject()->data;

    $this->view->assign('data', $data);
  }
protected function initializeView(ViewInterface $view) {
    $configurationManager = $this->objectManager->get(ConfigurationManager::class);
    $data                 = $configurationManager->getContentObject()->data;

    $this->view->assign('data', $data);
  }
Initialises a view.

@param \TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view The view