‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent Class Reference

Public Member Functions

 __construct (private readonly array $record, private bool $used, private readonly PageLayoutContext $context)
 
 getRecord ()
 
 isRecordUsed ()
 
 setUsed (bool $isUsed)
 
 getKnownColumnPositionNumbers ()
 
 getPageLayoutContext ()
 

Detailed Description

Use this Event to identify whether a content element is used.

Definition at line 25 of file IsContentUsedOnPageLayoutEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent::__construct ( private readonly array  $record,
private bool  $used,
private readonly PageLayoutContext  $context 
)

Definition at line 27 of file IsContentUsedOnPageLayoutEvent.php.

Member Function Documentation

◆ getKnownColumnPositionNumbers()

TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent::getKnownColumnPositionNumbers ( )

Definition at line 48 of file IsContentUsedOnPageLayoutEvent.php.

◆ getPageLayoutContext()

TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent::getPageLayoutContext ( )

Definition at line 53 of file IsContentUsedOnPageLayoutEvent.php.

◆ getRecord()

TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent::getRecord ( )

◆ isRecordUsed()

TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent::isRecordUsed ( )

Definition at line 38 of file IsContentUsedOnPageLayoutEvent.php.

◆ setUsed()

TYPO3\CMS\Backend\View\Event\IsContentUsedOnPageLayoutEvent::setUsed ( bool  $isUsed)

Definition at line 43 of file IsContentUsedOnPageLayoutEvent.php.