/** * Set the fluid partial path to the element * * @return void */ protected function setElementPartialPath() { if (!isset($this->userConfiguredElementTyposcript['partialPath'])) { $partialPath = $this->typoScriptRepository->getDefaultFluidTemplate($this->element->getElementType()); } else { $partialPath = $this->userConfiguredElementTyposcript['partialPath']; unset($this->userConfiguredElementTyposcript['partialPath']); } $this->element->setPartialPath($partialPath); }