Classes/Hook/LayoutPreviewHook.php
protected function skipRendering(PageLayoutView &$parentObject, array $row): bool
    {
        $tsConf = $parentObject->modTSconfig['column_layout'] ?? [];

        return (
            $tsConf['hidePreview'] ?? false                     // Hidden via page TSConfig
            || empty($row['tx_column_layout_column_config'])    // Not set
            || $tsConf['disabled'] ?? false                     // Hidden for this element
        );
    }
protected function skipRendering(PageLayoutView &$parentObject, array $row): bool
    {
        $tsConf = $parentObject->modTSconfig['column_layout'] ?? [];

        return (
            $tsConf['hidePreview'] ?? false                     // Hidden via page TSConfig
            || empty($row['tx_column_layout_column_config'])    // Not set
            || $tsConf['disabled'] ?? false                     // Hidden for this element
        );
    }
protected function skipRendering ( PageLayoutView & $ parentObject , array $ row ) : bool { $ tsConf = $ parentObject -> modTSconfig [ 'column_layout' ] ?? [ ] ; return ( $ tsConf [ 'hidePreview' ] ?? false // Hidden via page TSConfig || empty ( $ row [ 'tx_column_layout_column_config' ] ) // Not set || $ tsConf [ 'disabled' ] ?? false // Hidden for this element ) ; }
Checks if the rendering of the column markup should be skipped.

@param PageLayoutView $parentObject
@return bool
Checks if the rendering of the column markup should be skipped .