public function deactivateTcaFrontendGroupEnableFields(
        /** @noinspection PhpUnusedParameterInspection */
        &$parameters,
        /** @noinspection PhpUnusedParameterInspection */
        $parentObject
    ) {
        $this->originalTca = $GLOBALS['TCA'];

        foreach ($GLOBALS['TCA'] as $tableName => $tableConfiguration) {
            if (isset($GLOBALS['TCA'][$tableName]['ctrl']['enablecolumns']['fe_group'])) {
                unset($GLOBALS['TCA'][$tableName]['ctrl']['enablecolumns']['fe_group']);
            }
        }
    }
public function deactivateTcaFrontendGroupEnableFields(
        /** @noinspection PhpUnusedParameterInspection */
        &$parameters,
        /** @noinspection PhpUnusedParameterInspection */
        $parentObject
    ) {
        $this->originalTca = $GLOBALS['TCA'];

        foreach ($GLOBALS['TCA'] as $tableName => $tableConfiguration) {
            if (isset($GLOBALS['TCA'][$tableName]['ctrl']['enablecolumns']['fe_group'])) {
                unset($GLOBALS['TCA'][$tableName]['ctrl']['enablecolumns']['fe_group']);
            }
        }
    }
public function deactivateTcaFrontendGroupEnableFields ( /** @noinspection PhpUnusedParameterInspection */ & $ parameters , /** @noinspection PhpUnusedParameterInspection */ $ parentObject ) { $ this -> originalTca = $ GLOBALS [ 'TCA' ] ; foreach ( $ GLOBALS [ 'TCA' ] as $ tableName => $ tableConfiguration ) { if ( isset ( $ GLOBALS [ 'TCA' ] [ $ tableName ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'fe_group' ] ) ) { unset ( $ GLOBALS [ 'TCA' ] [ $ tableName ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'fe_group' ] ) ; } } }
Deactivates the frontend user group fields in TCA so that no access
restrictions apply during page rendering.

@param array $parameters Parameters from frontend
@param TypoScriptFrontendController $parentObject TSFE object
Deactivates the frontend user group fields in TCA so that no access restrictions apply during page rendering .