Classes/Utility/ColumnLayoutUtility.php
public static function getColumnLayoutSettings(int $page): array
    {
        $pageTSConfig = BackendUtility::getPagesTSconfig($page);

        if (!array_key_exists('column_layout.', $pageTSConfig['mod.'])) {
            throw new Exception(sprintf('No column layout found for page "%d". Please define the column_layout settings in your page TSConfig.', $page), 1520323245);
        }

        return $pageTSConfig['mod.']['column_layout.'];
    }
public static function getColumnLayoutSettings(int $page): array
    {
        $pageTSConfig = BackendUtility::getPagesTSconfig($page);

        if (!array_key_exists('column_layout.', $pageTSConfig['mod.'])) {
            throw new Exception(sprintf('No column layout found for page "%d". Please define the column_layout settings in your page TSConfig.', $page), 1520323245);
        }

        return $pageTSConfig['mod.']['column_layout.'];
    }
public static function getColumnLayoutSettings ( int $ page ) : array { $ pageTSConfig = BackendUtility :: getPagesTSconfig ( $ page ) ; if ( ! array_key_exists ( 'column_layout.' , $ pageTSConfig [ 'mod.' ] ) ) { throw new Exception ( sprintf ( 'No column layout found for page "%d". Please define the column_layout settings in your page TSConfig.' , $ page ) , 1520323245 ) ; } return $ pageTSConfig [ 'mod.' ] [ 'column_layout.' ] ; }
Returns the column layout configuration from page TSConfig.

@param int $page uid of the page
@return array column layout settings
@throws Exception when the column_layout setting hasn't been defined
Returns the column layout configuration from page TSConfig .