/**
* @param string $sectionName
* @param string $formName
* @return Form|NULL
*/
public function getForm($sectionName = 'Configuration', $formName = 'form')
{
/** @var Form $form */
$form = $this->getStoredVariable(AbstractFormViewHelper::SCOPE, $formName, $sectionName);
if (NULL !== $form && TRUE === isset($this->templatePathAndFilename)) {
$form->setOption(Form::OPTION_TEMPLATEFILE, $this->templatePathAndFilename);
$signature = ExtensionNamingUtility::getExtensionSignature($this->controllerContext->getRequest()->getControllerExtensionName());
$overrides = (array) $this->configurationService->getTypoScriptByPath('plugin.tx_' . $signature . '.forms.' . $form->getName());
$form->modify($overrides);
}
return $form;
}