‪TYPO3CMS  9.5
TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer Class Reference
Inheritance diagram for TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer:
TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface

Public Member Functions

 preProcess (\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface
 preProcess (\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row)
 

Public Attributes

const L10N_PREFIX = 'LLL:EXT:form/Resources/Private/Language/Database.xlf:'
 

Protected Member Functions

 addInvalidFrameworkConfigurationFlashMessage (\Exception $e)
 
LanguageService getLanguageService ()
 

Detailed Description

Contains a preview rendering for the page module of CType="form_formframework"

Definition at line 38 of file FormPagePreviewRenderer.php.

Member Function Documentation

◆ addInvalidFrameworkConfigurationFlashMessage()

TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer::addInvalidFrameworkConfigurationFlashMessage ( \Exception  $e)
protected

◆ getLanguageService()

LanguageService TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer::getLanguageService ( )
protected

◆ preProcess()

TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer::preProcess ( \TYPO3\CMS\Backend\View\PageLayoutView $parentObject,
$drawItem,
$headerContent,
$itemContent,
array &  $row 
)

Preprocesses the preview rendering of the content element "form_formframework".

Parameters
\TYPO3\CMS\Backend\View\PageLayoutView$parentObject‪Calling parent object
bool$drawItem‪Whether to draw the item using the default functionalities
string$headerContent‪Header content
string$itemContent‪Item content
array$row‪Record row of tt_content

Definition at line 54 of file FormPagePreviewRenderer.php.

References TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer\addInvalidFrameworkConfigurationFlashMessage(), TYPO3\CMS\Core\Utility\StringUtility\endsWith(), TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManager\FORM_DEFINITION_FILE_EXTENSION, TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer\getLanguageService(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

Member Data Documentation

◆ L10N_PREFIX

const TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer::L10N_PREFIX = 'LLL:EXT:form/Resources/Private/Language/Database.xlf:'

Localisation prefix

Definition at line 43 of file FormPagePreviewRenderer.php.