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

Public Member Functions

 preProcess (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 41 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 ( 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

Implements TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface.

Definition at line 57 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(), TYPO3\CMS\Backend\View\PageLayoutView\linkEditContent(), TYPO3\CMS\Backend\View\PageLayoutView\renderText(), 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 46 of file FormPagePreviewRenderer.php.